With sparse 0.2, my previously sparse-clean driver generates the following warnings: include/asm/checksum.h:182:6: warning: symbol 'sum' shadows an earlier one include/asm/checksum.h:178:28: originally declared here include/net/checksum.h:33:6: warning: symbol 'sum' shadows an earlier one include/net/checksum.h:31:27: originally declared here Architecture is i386. The lines referred to are in the functions csum_and_copy_to_user() and csum_and_copy_from_user(), but I don't see why sparse would emit such a warning for that code. Any chance of getting rid of these? Thanks Tilman -- Tilman Schmidt E-Mail: [email protected] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
Attachment:
signature.asc
Description: OpenPGP digital signature
- Follow-Ups:
- Re: Sparse 0.2 warnings from {asm,net}/checksum.h
- From: Dave Jones <[email protected]>
- Re: Sparse 0.2 warnings from {asm,net}/checksum.h
- Prev by Date: Re: Freezer.h updated patch.
- Next by Date: Re: [PATCH] Documentation: Explain a second alternative for multi-line macros.
- Previous by thread: Re: Freezer.h updated patch.
- Next by thread: Re: Sparse 0.2 warnings from {asm,net}/checksum.h
- Index(es):