Re: [PATCH -next] ataflop: Add missing semicolon to return statement
From: Jens Axboe
Date: Sat Nov 06 2021 - 15:27:41 EST
On Sat, 6 Nov 2021 19:55:49 +0100, Geert Uytterhoeven wrote:
> 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)
> | ^~~~~~~~~~~~~
>
> [...]
Applied, thanks!
[1/1] ataflop: Add missing semicolon to return statement
commit: 38987a872b313e72f7a64e91ec0b8084eaec0f10
Best regards,
--
Jens Axboe