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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMpEsFF2RjRYUvG7MivvWUmEV1kTn493=oNa30ASfQ+n+19akw@mail.gmail.com>
Date:	Sat, 14 Dec 2013 23:47:10 +0530
From:	Rashika Kheria <rashika.kheria@...il.com>
To:	Borislav Petkov <bp@...en8.de>
Cc:	Linux-Kernel <linux-kernel@...r.kernel.org>,
	Doug Thompson <dougthompson@...ssion.com>,
	linux-edac@...r.kernel.org, Josh Triplett <josh@...htriplett.org>
Subject: Re: [PATCH 1/3] drivers: edac: Mark the function amd64_decode_bus_error()
 as static in amd64_edac.c

On Sat, Dec 14, 2013 at 10:31 PM, Borislav Petkov <bp@...en8.de> wrote:
> On Sat, Dec 14, 2013 at 07:28:24PM +0530, Rashika Kheria wrote:
>> This patch marks the function amd64_decode_bus_error() as static in
>> amd64_edac.c because it is not used outside this file.
>>
>> Thus, it also eliminates the following warning in amd64_edac.c:
>> drivers/edac/amd64_edac.c:2038:6: warning: no previous prototype for ‘amd64_decode_bus_error’ [-Wmissing-prototypes]
>
> How do you trigger this? .config and output of
>
> gcc --version
>
> please.
>
> I've never seen this warning before.
>
> --
> Regards/Gruss,
>     Boris.
>

Hi Borislav,

My gcc version is 4.6.3. You can trigger these warnings by adding
-Wmissing-prototypes to KBUILD_CFLAGS in the top-level Makefile, and
do a build with defconfig or allyesconfig. It will show all warnings
of missing prototype.

Thanks ,
-- 
Rashika Kheria
B.Tech CSE
IIIT Hyderabad
--
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