linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* error, types differ in signedness
@ 2007-02-05 18:54 Randy Dunlap
  2007-02-05 20:06 ` [PATCH] " Christopher Li
  0 siblings, 1 reply; 7+ messages in thread
From: Randy Dunlap @ 2007-02-05 18:54 UTC (permalink / raw)
  To: linux-sparse

Hi,

On Linux 2.6.20 and current sparse, I see these warnings:

net/core/skbuff.c:1838:5: error: symbol 'skb_append_datato_frags' redeclared with different type (originally declared at include/linux/skbuff.h:380) - incompatible argument 3 (different signedness)

fs/mpage.c:821:5: error: symbol 'mpage_writepage' redeclared with different type (originally declared at include/linux/mpage.h:22) - incompatible argument 2 (different signedness)



These are both in function pointers that are arguments to a function.
The skbuff.[hc] difference is in *getfrag vs. getfrag.
The mpage.[hc] difference is in  *get_block vs. getblock.

Questions:
1.  Is the warning valid?
2.  Isn't the '*' unnecessary?

Thanks,
---
~Randy

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

end of thread, other threads:[~2007-02-06 19:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-05 18:54 error, types differ in signedness Randy Dunlap
2007-02-05 20:06 ` [PATCH] " Christopher Li
2007-02-05 21:04   ` Randy Dunlap
2007-02-05 22:27   ` Pavel Roskin
2007-02-06  0:16     ` Christopher Li
2007-02-06  1:12       ` Pavel Roskin
2007-02-06 18:36         ` Christopher Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).