Skip to content

Commit

Permalink
drivers: dio: space required after that ','
Browse files Browse the repository at this point in the history
This patch fixes the checkpatch.pl error:

< ERROR: space required after that ',' (ctx:VxV)
< torvalds#239: FILE: drivers/dio/dio.c:239:
< +                strcpy(dev->name,dio_getname(dev->id));

Signed-off-by: Aleksa Vučković <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
aleksav013 authored and gregkh committed Feb 4, 2022
1 parent cf988f8 commit 6cc749b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dio/dio.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ static int __init dio_init(void)
dev->id = prid;

dev->ipl = DIO_IPL(va);
strcpy(dev->name,dio_getname(dev->id));
strcpy(dev->name, dio_getname(dev->id));
printk(KERN_INFO "select code %3d: ipl %d: ID %02X", dev->scode, dev->ipl, prid);
if (DIO_NEEDSSECID(prid))
printk(":%02X", secid);
Expand Down

0 comments on commit 6cc749b

Please sign in to comment.