Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1619572

[PATCH] samples: fixed blank line after declaration

From Ron Mentink <ronm@meesterprutser.nl>
Newsgroups linux.kernel
Subject [PATCH] samples: fixed blank line after declaration
Date 2017-04-10 02:10 +0200
Message-ID <tuv45-1BY-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] samples: fixed blank line after declaration Ron Mentink <ronm@meesterprutser.nl> - 2017-04-10 02:10 +0200

csiph-web