Re: [PATCH net] net/socket: fix type in assignment and trim long line

2017-07-24 Thread David Miller
From: Paolo Abeni Date: Fri, 21 Jul 2017 18:49:45 +0200 > The commit ffb07550c76f ("copy_msghdr_from_user(): get rid of > field-by-field copyin") introduce a new sparse warning: > > net/socket.c:1919:27: warning: incorrect type in assignment (different > address spaces) > net/socket.c:1919:27:

[PATCH net] net/socket: fix type in assignment and trim long line

2017-07-21 Thread Paolo Abeni
The commit ffb07550c76f ("copy_msghdr_from_user(): get rid of field-by-field copyin") introduce a new sparse warning: net/socket.c:1919:27: warning: incorrect type in assignment (different address spaces) net/socket.c:1919:27:expected void *msg_control net/socket.c:1919:27:got void [noder