ia64: replace comments with C99 initializers

This replaces comments with C99's designated initializers because the
kernel supports them now.

Link: https://lkml.kernel.org/r/20220326165909.506926-3-benni@stuerz.xyz
Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
Benjamin Stürz 2022-04-28 23:17:25 -07:00 committed by akpm
parent 72a4fd6a7f
commit bd7155a028

View File

@ -29,38 +29,38 @@ struct kretprobe_blackpoint kretprobe_blacklist[] = {{NULL, NULL}};
enum instruction_type {A, I, M, F, B, L, X, u}; enum instruction_type {A, I, M, F, B, L, X, u};
static enum instruction_type bundle_encoding[32][3] = { static enum instruction_type bundle_encoding[32][3] = {
{ M, I, I }, /* 00 */ [0x00] = { M, I, I },
{ M, I, I }, /* 01 */ [0x01] = { M, I, I },
{ M, I, I }, /* 02 */ [0x02] = { M, I, I },
{ M, I, I }, /* 03 */ [0x03] = { M, I, I },
{ M, L, X }, /* 04 */ [0x04] = { M, L, X },
{ M, L, X }, /* 05 */ [0x05] = { M, L, X },
{ u, u, u }, /* 06 */ [0x06] = { u, u, u },
{ u, u, u }, /* 07 */ [0x07] = { u, u, u },
{ M, M, I }, /* 08 */ [0x08] = { M, M, I },
{ M, M, I }, /* 09 */ [0x09] = { M, M, I },
{ M, M, I }, /* 0A */ [0x0A] = { M, M, I },
{ M, M, I }, /* 0B */ [0x0B] = { M, M, I },
{ M, F, I }, /* 0C */ [0x0C] = { M, F, I },
{ M, F, I }, /* 0D */ [0x0D] = { M, F, I },
{ M, M, F }, /* 0E */ [0x0E] = { M, M, F },
{ M, M, F }, /* 0F */ [0x0F] = { M, M, F },
{ M, I, B }, /* 10 */ [0x10] = { M, I, B },
{ M, I, B }, /* 11 */ [0x11] = { M, I, B },
{ M, B, B }, /* 12 */ [0x12] = { M, B, B },
{ M, B, B }, /* 13 */ [0x13] = { M, B, B },
{ u, u, u }, /* 14 */ [0x14] = { u, u, u },
{ u, u, u }, /* 15 */ [0x15] = { u, u, u },
{ B, B, B }, /* 16 */ [0x16] = { B, B, B },
{ B, B, B }, /* 17 */ [0x17] = { B, B, B },
{ M, M, B }, /* 18 */ [0x18] = { M, M, B },
{ M, M, B }, /* 19 */ [0x19] = { M, M, B },
{ u, u, u }, /* 1A */ [0x1A] = { u, u, u },
{ u, u, u }, /* 1B */ [0x1B] = { u, u, u },
{ M, F, B }, /* 1C */ [0x1C] = { M, F, B },
{ M, F, B }, /* 1D */ [0x1D] = { M, F, B },
{ u, u, u }, /* 1E */ [0x1E] = { u, u, u },
{ u, u, u }, /* 1F */ [0x1F] = { u, u, u },
}; };
/* Insert a long branch code */ /* Insert a long branch code */