From: Pierre Chevalier <pierrechevalier83@gmail.com>
To: rth@twiddle.net
Cc: linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org,
Pierre Chevalier <pierrechevalier83@gmail.com>
Subject: [PATCH] Arch: alpha: boot: fixed a brace coding style issue
Date: Thu, 5 Feb 2015 20:30:25 +0000 [thread overview]
Message-ID: <1423168225-641-1-git-send-email-pierrechevalier83@gmail.com> (raw)
Fixed a coding style issue.
Signed-off-by: Pierre Chevalier <pierrechevalier83@gmail.com>
---
arch/alpha/boot/bootp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/alpha/boot/bootp.c b/arch/alpha/boot/bootp.c
index 2a542a5..c2b3bce 100644
--- a/arch/alpha/boot/bootp.c
+++ b/arch/alpha/boot/bootp.c
@@ -177,9 +177,8 @@ start_kernel(void)
move_stack(initrd_start - PAGE_SIZE);
nbytes = callback_getenv(ENV_BOOTED_OSFLAGS, envval, sizeof(envval));
- if (nbytes < 0 || nbytes >= sizeof(envval)) {
+ if (nbytes < 0 || nbytes >= sizeof(envval))
nbytes = 0;
- }
envval[nbytes] = '\0';
srm_printk("Loading the kernel...'%s'\n", envval);
--
2.2.2
reply other threads:[~2015-02-05 20:31 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=1423168225-641-1-git-send-email-pierrechevalier83@gmail.com \
--to=pierrechevalier83@gmail.com \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rth@twiddle.net \
/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
Powered by JetHome