All of lore.kernel.org
 help / color / mirror / Atom feed
* constness bug in include/linux/compiler.h
@ 2007-03-13 22:23 Russ Cox
  2007-03-14 16:18 ` Josh Triplett
  0 siblings, 1 reply; 6+ messages in thread
From: Russ Cox @ 2007-03-13 22:23 UTC (permalink / raw)
  To: linux-sparse; +Cc: Tom Bergan

Probably sparse just doesn't pay attention to const,
but shouldn't the definitions of __chk_user_ptr
and __chk_io_ptr be

    extern void __chk_user_ptr(const void __user *);
    extern void __chk_io_ptr(const void __iomem *);

instead of

    extern void __chk_user_ptr(void __user *);
    extern void __chk_io_ptr(void __iomem *);

?

Russ

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-13 22:23 constness bug in include/linux/compiler.h Russ Cox
2007-03-14 16:18 ` Josh Triplett
2007-03-14 19:10   ` Russ Cox
2007-03-16 18:26     ` Josh Triplett
2007-03-16 18:40       ` Josh Triplett
2007-03-17  2:30       ` Linus Torvalds

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.