diff options
author | 2020-05-11 13:59:11 +0200 | |
---|---|---|
committer | 2020-05-11 16:59:16 -0700 | |
commit | 0462b6bdb6445b887b8896f28be92e0d94c92e7b (patch) | |
tree | 9d4b3f468d481aa66b31e5cdb6ad532458889c4d /net/socket.c | |
parent | Merge branch 'net-dsa-Constify-two-tagger-ops' (diff) | |
download | wireguard-linux-0462b6bdb6445b887b8896f28be92e0d94c92e7b.tar.xz wireguard-linux-0462b6bdb6445b887b8896f28be92e0d94c92e7b.zip |
net: add a CMSG_USER_DATA macro
Add a variant of CMSG_DATA that operates on user pointer to avoid
sparse warnings about casting to/from user pointers. Also fix up
CMSG_DATA to rely on the gcc extension that allows void pointer
arithmetics to cut down on the amount of casts.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions