From: Frederic Jacob <frederic.jacob.78@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org,
Frederic Jacob <frederic.jacob.78@gmail.com>
Subject: [PATCH] Staging: comedi: fix blank line coding style in comedi_bond.c
Date: Wed, 17 Dec 2014 21:35:41 -0500 [thread overview]
Message-ID: <1418870141-10323-1-git-send-email-frederic.jacob.78@gmail.com> (raw)
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: Frederic Jacob <frederic.jacob.78@gmail.com>
---
This is my first patch that I send. It is for the Eudyptula chalange task 10.
drivers/staging/comedi/drivers/comedi_bond.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/comedi/drivers/comedi_bond.c b/drivers/staging/comedi/drivers/comedi_bond.c
index 85b2f4a..221d381 100644
--- a/drivers/staging/comedi/drivers/comedi_bond.c
+++ b/drivers/staging/comedi/drivers/comedi_bond.c
@@ -261,6 +261,7 @@ static int do_dev_config(struct comedi_device *dev, struct comedi_devconfig *it)
{
/* Append dev:subdev to devpriv->name */
char buf[20];
+
snprintf(buf, sizeof(buf), "%u:%u ",
bdev->minor, bdev->subdev);
strlcat(devpriv->name, buf,
--
1.9.1
next reply other threads:[~2014-12-18 2:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-18 2:35 Frederic Jacob [this message]
2014-12-18 2:57 ` [PATCH] Staging: comedi: fix blank line coding style in comedi_bond.c Greg KH
2014-12-18 5:15 ` [PATCHv2] " Frederic Jacob
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1418870141-10323-1-git-send-email-frederic.jacob.78@gmail.com \
--to=frederic.jacob.78@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox