[LTP] [PATCH 1/3] tools/sparse: Add static check
Richard Palethorpe
rpalethorpe@suse.de
Tue Nov 30 09:24:52 CET 2021
Hello Petr and Cyril,
Thanks! pushed. Please pull and try it out.
Petr Vorel <pvorel@suse.cz> writes:
> Hi Richie,
>
>> This was adapted from Sparse's inbuilt check_duplicates (-Wdecl). The
>> original check appears to print a warning whenever a symbol is
>> non-static, but has no prototype. It appears to work because library
>> symbols are usually declared first in a header file and then again
>> with their definition in a source file.
>
>> The LTP version also checks for the various library prefixes, but
>> should otherwise be the same.
> LGTM, thanks!
I took the liberty (;-)) of interpreting this as Acked-by.
>
> Kind regards,
> Petr
--
Thank you,
Richard.
More information about the ltp
mailing list