Re: Lots of "error: multiple storage classes" warnings on the Linux kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 19, 2010 at 02:53:12PM +0200, Bernd Petrovitsch wrote:
> Hi all!
> 
> While investigating something completely different, I noticed lots of 
> "error: multiple storage classes" warnings, e.g.
> ----  snip  ----
>   CHECK   security/keys/keyring.c
> include/linux/sched.h:831:12: error: multiple storage classes: extern weak
> security/keys/keyring.c:75:1: error: multiple storage classes: extern weak
> security/keys/keyring.c:471:1: error: multiple storage classes: extern weak
> security/keys/keyring.c:899:1: error: multiple storage classes: extern weak
> security/keys/keyring.c:974:1: error: multiple storage classes: extern weak
> security/keys/keyring.c:1033:1: error: multiple storage classes: extern weak
> ----  snip  ---- 
> [ The ": extern weak" is from me to see which are actually set. ]
> 
> Is this warning correct that way (and the source should be fixed) or is
> the warning in that wrong?

Can you cook up a small code snippet that
exhibit this without all the kernel macros etc?
This would make it easier for the sparse folks to understand.

	Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux