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: linux-block@vger.kernel.org Cc: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de> Cc: David Kozub <zub@linux.fjfi.cvut.cz> Reviewed-by: Scott Bauer <sbauer@plzdonthack.me> Reviewed-by: Revanth Rajashekar <revanth.rajashekar@intel.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 3a4b46c commit dc30102

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)