Re: [PATCH] net-next: Fix minor code bug in timestamping.txt

2017-07-11 Thread David Miller
From: Ahmad Fatoum Date: Sat, 8 Jul 2017 21:28:44 +0200 > 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 >

[PATCH] net-next: Fix minor code bug in timestamping.txt

2017-07-08 Thread Ahmad Fatoum
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 Cc: netdev@vger.kernel.org Signed-off-by: Ahmad Fatoum --- Documentation