hi, robert
      u can go to search the info about sparse.

2009/9/22 Robert P. J. Day <[email protected]>:
>
>  digging into kernel-user space copying and i can see that, depending
> on whether i'm running sparse, i'll get __chk_user_ptr() defined in
> one of two ways in <linux/compiler.h>:
>
> #ifdef __CHECKER__
> ...
> extern void __chk_user_ptr(const volatile void __user *);
> extern void __chk_io_ptr(const volatile void __iomem *);
> #else
> ...
> # define __chk_user_ptr(x) (void)0
> # define __chk_io_ptr(x) (void)0
> #endif
>
>  but if i define __CHECKER__, where *is* the external definition of
> those two routines?  i've grepped and can't see them.  thanks.
>
> rday
> --
>
> ========================================================================
> Robert P. J. Day                               Waterloo, Ontario, CANADA
>
>        Linux Consulting, Training and Annoying Kernel Pedantry.
>
> Web page:                                          http://crashcourse.ca
> Twitter:                                       http://twitter.com/rpjday
> ========================================================================
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to [email protected]
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>



-- 
Best Regards
Lin

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to