Commit 9cc841b1 authored by Frederic Jacob's avatar Frederic Jacob Committed by Greg Kroah-Hartman

Staging: comedi: fix blank line coding style in comedi_bond.c

 This is a patch to the comedi_bond.c file that fixes up a blank line after
 declaration warning found by the checkpatch.pl tool
Signed-off-by: default avatarFrederic Jacob <frederic.jacob.78@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ddd54d65
...@@ -261,6 +261,7 @@ static int do_dev_config(struct comedi_device *dev, struct comedi_devconfig *it) ...@@ -261,6 +261,7 @@ static int do_dev_config(struct comedi_device *dev, struct comedi_devconfig *it)
{ {
/* Append dev:subdev to devpriv->name */ /* Append dev:subdev to devpriv->name */
char buf[20]; char buf[20];
snprintf(buf, sizeof(buf), "%u:%u ", snprintf(buf, sizeof(buf), "%u:%u ",
bdev->minor, bdev->subdev); bdev->minor, bdev->subdev);
strlcat(devpriv->name, buf, strlcat(devpriv->name, buf,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment