lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 1 Oct 2015 16:10:25 +0800
From:	Ley Foon Tan <lftan@...era.com>
To:	Tobias Klauser <tklauser@...tanz.ch>
Cc:	Marek Vasut <marex@...x.de>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] nios2: Fix unused variable warning

On Tue, Sep 22, 2015 at 11:22 PM, Tobias Klauser <tklauser@...tanz.ch> wrote:
> On 2015-09-19 at 06:40:51 +0200, Marek Vasut <marex@...x.de> wrote:
>> Fix the following compiler splat by adding __maybe_unused annotation
>> to the variable. Using this particular annotation has the least ugly
>> impact on the code compared to using ifdeffery.
>>
>> arch/nios2/kernel/setup.c: In function 'nios2_boot_init':
>> arch/nios2/kernel/setup.c:107:7: warning: unused variable 'cmdline_passed' [-Wunused-variable]
>>   char cmdline_passed[COMMAND_LINE_SIZE] = { 0, };
>>        ^
>>
>> Signed-off-by: Marek Vasut <marex@...x.de>
>
> Reviewed-by: Tobias Klauser <tklauser@...tanz.ch>
> --
Acked-by: Ley Foon Tan <lftan@...era.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ