Messages in this thread Patch in this message | | | From | Pierre Chevalier <> | Subject | [PATCH] Arch: alpha: boot: fixed a brace coding style issue | Date | Thu, 5 Feb 2015 20:30:25 +0000 |
| |
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
| |