[PATCH V2 0/4] Adding selfcheck target

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

 



This is  the updated version of the selfcheck.

Merge some change submit by Ramsay Jones.
I also fix some warning report by selfcheck. That is the 4th path.

This is the current selfcheck warning on Linux:

     CHECK    pre-process.c
pre-process.c:712:25: warning: Variable length array is used.
pre-process.c:2019:28: warning: Variable length array is used.
     CHECK    symbol.c
     CHECK    lib.c
lib.c:194:6: error: symbol 'error_die' redeclared with different type
(originally declared at lib.h:98) - different modifiers
lib.c:203:6: error: symbol 'die' redeclared with different type
(originally declared at lib.h:94) - different modifiers

This one is hard to fix. It is reporting the difference in NORETURN attribute.
The NORETURN should not be a modifier, it is an attribute.
The other issue here is that, sparse haven't handle merging the
difference instance
of the incremental declare properly.

I also have this:
     CHECK    sparse-llvm.c
/usr/include/bits/mathinline.h:134:55: warning: obsolete struct
initializer, use C99 syntax
/usr/include/bits/mathinline.h:146:59: warning: obsolete struct
initializer, use C99 syntax
/usr/include/bits/mathinline.h:153:64: warning: obsolete struct
initializer, use C99 syntax

That is a system header file which I can't fix in sparse.

Chris
--
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