public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Sparse 0.2 warnings from {asm,net}/checksum.h
@ 2007-01-01 14:23 Tilman Schmidt
  2007-01-01 19:10 ` Dave Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Tilman Schmidt @ 2007-01-01 14:23 UTC (permalink / raw)
  To: LKML

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

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: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-03  2:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-01 14:23 Sparse 0.2 warnings from {asm,net}/checksum.h Tilman Schmidt
2007-01-01 19:10 ` Dave Jones
2007-01-03  2:24   ` [PATCH] fix sparse " Tilman Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox