Skip to content

Commit 41c9499

Browse files
arndbaxboe
authored andcommitted
skd: fix function prototype
Building with W=1 shows a harmless warning for the skd driver: drivers/block/skd_main.c:2959:1: error: ‘static’ is not at beginning of declaration [-Werror=old-style-declaration] This changes the prototype to the expected formatting. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 3bc8492 commit 41c9499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/block/skd_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2945,8 +2945,8 @@ static void skd_completion_worker(struct work_struct *work)
29452945

29462946
static void skd_isr_msg_from_dev(struct skd_device *skdev);
29472947

2948-
irqreturn_t
2949-
static skd_isr(int irq, void *ptr)
2948+
static irqreturn_t
2949+
skd_isr(int irq, void *ptr)
29502950
{
29512951
struct skd_device *skdev;
29522952
u32 intstat;

0 commit comments

Comments
 (0)