Skip to content

Commit f41c53a

Browse files
AxelLinJens Axboe
authored andcommitted
block: swim3: fix unterminated of_device_id table
of_device_id structures need a NULL terminating entry, add it. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
1 parent f95fe9c commit f41c53a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/block/swim3.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,6 +1184,7 @@ static struct of_device_id swim3_match[] =
11841184
{
11851185
.compatible = "swim3"
11861186
},
1187+
{ /* end of list */ }
11871188
};
11881189

11891190
static struct macio_driver swim3_driver =

0 commit comments

Comments
 (0)