Commit dc301025 authored by Randy Dunlap's avatar Randy Dunlap Committed by Jens Axboe
Browse files

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: ff91064e

 ("block: sed-opal: check size of shadow mbr")
Cc: Jonas Rabenstein <>
Cc: David Kozub <>
Reviewed-by: default avatarScott Bauer <>
Reviewed-by: default avatarRevanth Rajashekar <>
Signed-off-by: default avatarRandy Dunlap <>
Signed-off-by: default avatarJens Axboe <>
parent 3a4b46c3
......@@ -129,7 +129,7 @@ static const u8 opaluid[][OPAL_UID_LENGTH] = {
{ 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x84, 0x01 },
/* tables */
{ 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01 },
{ 0x00, 0x00, 0x08, 0x02, 0x00, 0x00, 0x00, 0x01 },
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment