Messages in this thread | | | Date | Wed, 08 Sep 2010 13:46:32 -0700 (PDT) | Subject | Re: [PATCH] net: remove address space warnings in net/socket.c | From | David Miller <> |
| |
From: Namhyung Kim <namhyung@gmail.com> Date: Tue, 7 Sep 2010 22:55:00 +0900
> Casts __kernel to __user pointer require __force markup, so add it. Also > sock_get/setsockopt() takes @optval and/or @optlen arguments as user pointers > but were taking kernel pointers, use new variables 'uoptval' and/or 'uoptlen' > to fix it. These remove following warnings from sparse: ... > Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Applied to net-next-2.6, thank you.
| |