From: Ron Mentink <ronm@meesterprutser.nl>
To: linux-kernel@vger.kernel.org
Cc: shuah@kernel.org, corbet@lwn.net, Ron Mentink <ronm@meesterprutser.nl>
Subject: [PATCH] samples: fixed blank line after declaration
Date: Mon, 10 Apr 2017 01:46:12 +0200 [thread overview]
Message-ID: <1491781572-22924-1-git-send-email-ronm@meesterprutser.nl> (raw)
Following the code-style added a blank line to watchdog-simple.c in the
examples.
Signed-off-by: ronm <ronm@meesterprutser.nl>
---
samples/watchdog/watchdog-simple.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/samples/watchdog/watchdog-simple.c b/samples/watchdog/watchdog-simple.c
index ba45803..327b226 100644
--- a/samples/watchdog/watchdog-simple.c
+++ b/samples/watchdog/watchdog-simple.c
@@ -7,6 +7,7 @@ int main(void)
{
int fd = open("/dev/watchdog", O_WRONLY);
int ret = 0;
+
if (fd == -1) {
perror("watchdog");
exit(EXIT_FAILURE);
--
1.9.1
reply other threads:[~2017-04-10 0:03 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=1491781572-22924-1-git-send-email-ronm@meesterprutser.nl \
--to=ronm@meesterprutser.nl \
--cc=corbet@lwn.net \
--cc=linux-kernel@vger.kernel.org \
--cc=shuah@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®