summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2017-07-08 21:28:44 +0200
committerDavid S. Miller <davem@davemloft.net>2017-07-11 13:34:54 -0700
commit5e34fa23ced16f03fe163d3f31fddcae91c3f2fc (patch)
treec5e742e1695d69a338cc34a33364ed70e2371683 /drivers
parentf4e27944f9cf9a94dd9b37a834512586c1f1a5d2 (diff)
downloadlinux-5e34fa23ced16f03fe163d3f31fddcae91c3f2fc.tar.bz2
net: Fix minor code bug in timestamping.txt
Passing (void*)val instead of &val would make a pointer out of an integer and cause sock_setsockopt to -EFAULT. See tools/testing/selftests/networking/timestamping/timestamping.c for a working example. Cc: David S. Miller <davem@davemloft.net> Cc: netdev@vger.kernel.org Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions