From: Athira Lekshmi <andnlnbn18@gmail.com>
To: bhelgaas@google.com
Cc: levex@linux.com, linux-kernel@vger.kernel.org,
Athira Lekshmi <andnlnbn18@gmail.com>
Subject: [PATCH] Eisa: Fixed missing a blank line warning
Date: Sun, 7 Dec 2014 15:07:36 +0530 [thread overview]
Message-ID: <1417945056-4561-1-git-send-email-andnlnbn18@gmail.com> (raw)
Added a new line after declarations to remove the warning:
'Missing a blank line after declarations'
Signed-off-by: Athira Lekshmi <andnlnbn18@gmail.com>
---
drivers/eisa/eisa-bus.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/eisa/eisa-bus.c b/drivers/eisa/eisa-bus.c
index 612afea..9712962 100644
--- a/drivers/eisa/eisa-bus.c
+++ b/drivers/eisa/eisa-bus.c
@@ -59,6 +59,7 @@ static void __init eisa_name_device(struct eisa_device *edev)
{
#ifdef CONFIG_EISA_NAMES
int i;
+
for (i = 0; i < EISA_INFOS; i++) {
if (!strcmp(edev->id.sig, eisa_table[i].id.sig)) {
strlcpy(edev->pretty_name,
@@ -160,6 +161,7 @@ static ssize_t eisa_show_sig(struct device *dev, struct device_attribute *attr,
char *buf)
{
struct eisa_device *edev = to_eisa_device(dev);
+
return sprintf(buf, "%s\n", edev->id.sig);
}
@@ -170,6 +172,7 @@ static ssize_t eisa_show_state(struct device *dev,
char *buf)
{
struct eisa_device *edev = to_eisa_device(dev);
+
return sprintf(buf, "%d\n", edev->state & EISA_CONFIG_ENABLED);
}
--
1.7.9.5
reply other threads:[~2014-12-07 9:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1417945056-4561-1-git-send-email-andnlnbn18@gmail.com \
--to=andnlnbn18@gmail.com \
--cc=bhelgaas@google.com \
--cc=levex@linux.com \
--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
all inboxes | Powered by JetHome®