aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed_iwarp.c
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/net/ethernet/qlogic/qed/qed_iwarp.c
parentMerge branch 'stmmac-dma-resources-fixes' (diff)
downloadlinux-dev-5e34fa23ced16f03fe163d3f31fddcae91c3f2fc.tar.xz
linux-dev-5e34fa23ced16f03fe163d3f31fddcae91c3f2fc.zip
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 '')
0 files changed, 0 insertions, 0 deletions