Re: [PATCH] ia64 basic __user annotations

From: Tony Luck
Date: Thu Sep 29 2005 - 15:29:06 EST


On 9/28/05, Al Viro <viro@xxxxxxxxxxxxxxxx> wrote:
> * uintptr_t is unsigned long, not long

> - long __gu_err = -EFAULT, __gu_val = 0; \
> - \
> + long __gu_err = -EFAULT; \
> + unsigned long __gu_val = 0; \

Too subtle for me ... what's happening here? If you change this, then
should you also change "register long __gu_r9 asm ("r9");" in __get_user_size
to be unsigned long as well?

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/