[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100908.134632.35051274.davem@davemloft.net>
Date: Wed, 08 Sep 2010 13:46:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: namhyung@...il.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: remove address space warnings in net/socket.c
From: Namhyung Kim <namhyung@...il.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@...il.com>
Applied to net-next-2.6, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists