summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2021-11-06 19:55:49 +0100
committerJens Axboe <axboe@kernel.dk>2021-11-06 13:26:41 -0600
commit38987a872b313e72f7a64e91ec0b8084eaec0f10 (patch)
tree76f3bd625ee1140a0c7156d86b257b0fb07f317d /drivers/md
parentec28fcc6cfcd418d20038ad2c492e87bf3a9f026 (diff)
downloadlinux-38987a872b313e72f7a64e91ec0b8084eaec0f10.tar.bz2
ataflop: Add missing semicolon to return statement
drivers/block/ataflop.c: In function ‘ataflop_probe’: drivers/block/ataflop.c:2023:2: error: expected expression before ‘if’ 2023 | if (ataflop_alloc_disk(drive, type)) | ^~ drivers/block/ataflop.c:2023:2: error: ‘return’ with a value, in function returning void [-Werror=return-type] drivers/block/ataflop.c:2011:13: note: declared here 2011 | static void ataflop_probe(dev_t dev) | ^~~~~~~~~~~~~ Fixes: 46a7db492e7a2740 ("ataflop: address add_disk() error handling on probe") Reported-by: noreply@ellerman.id.au Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20211106185549.1578444-1-geert@linux-m68k.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions