Skip to content

Commit dc30102

Browse files
rddunlapaxboe
authored andcommitted
block: sed-opal: fix sparse warning: obsolete array init.
Fix sparse warning: (missing '=') ../block/sed-opal.c:133:17: warning: obsolete array initializer, use C99 syntax Fixes: ff91064 ("block: sed-opal: check size of shadow mbr") Cc: [email protected] Cc: Jonas Rabenstein <[email protected]> Cc: David Kozub <[email protected]> Reviewed-by: Scott Bauer <[email protected]> Reviewed-by: Revanth Rajashekar <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 3a4b46c commit dc30102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

block/sed-opal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static const u8 opaluid[][OPAL_UID_LENGTH] = {
129129
{ 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x84, 0x01 },
130130

131131
/* tables */
132-
[OPAL_TABLE_TABLE]
132+
[OPAL_TABLE_TABLE] =
133133
{ 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01 },
134134
[OPAL_LOCKINGRANGE_GLOBAL] =
135135
{ 0x00, 0x00, 0x08, 0x02, 0x00, 0x00, 0x00, 0x01 },

0 commit comments

Comments
 (0)