<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/networking/timestamping/rxtimestamp.c, branch linux-5.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-08-05T07:59:45Z</updated>
<entry>
<title>selftests/net: rxtimestamp: fix clang issues for target arch PowerPC</title>
<updated>2020-08-05T07:59:45Z</updated>
<author>
<name>Tanner Love</name>
</author>
<published>2020-07-27T16:25:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22f84cce95276bb202ccf0dceb3b2bd9de4af1af'/>
<id>urn:sha1:22f84cce95276bb202ccf0dceb3b2bd9de4af1af</id>
<content type='text'>
[ Upstream commit 955cbe91bcf782c09afe369c95a20f0a4b6dcc3c ]

The signedness of char is implementation-dependent. Some systems
(including PowerPC and ARM) use unsigned char. Clang 9 threw:
warning: result of comparison of constant -1 with expression of type \
'char' is always true [-Wtautological-constant-out-of-range-compare]
                                  &amp;arg_index)) != -1) {

Tested: make -C tools/testing/selftests TARGETS="net" run_tests

Fixes: 16e781224198 ("selftests/net: Add a test to validate behavior of rx timestamps")
Signed-off-by: Tanner Love &lt;tannerlove@google.com&gt;
Acked-by: Willem de Bruijn &lt;willemb@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/net: in rxtimestamp getopt_long needs terminating null entry</title>
<updated>2020-06-17T14:40:32Z</updated>
<author>
<name>tannerlove</name>
</author>
<published>2020-06-09T21:21:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=57bad9e291e3e493b5fff5e785eb0e3dec78c6a7'/>
<id>urn:sha1:57bad9e291e3e493b5fff5e785eb0e3dec78c6a7</id>
<content type='text'>
[ Upstream commit 865a6cbb2288f8af7f9dc3b153c61b7014fdcf1e ]

getopt_long requires the last element to be filled with zeros.
Otherwise, passing an unrecognized option can cause a segfault.

Fixes: 16e781224198 ("selftests/net: Add a test to validate behavior of rx timestamps")
Signed-off-by: Tanner Love &lt;tannerlove@google.com&gt;
Acked-by: Willem de Bruijn &lt;willemb@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>selftests: add missing include unistd</title>
<updated>2019-02-03T19:17:30Z</updated>
<author>
<name>Deepa Dinamani</name>
</author>
<published>2019-02-02T15:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9bcfd1d176eb2109f74e1e4eeabdedf22321003'/>
<id>urn:sha1:a9bcfd1d176eb2109f74e1e4eeabdedf22321003</id>
<content type='text'>
Compiling rxtimestamp.c generates error messages due to
non-existing declaration for write() library call.

Add missing unistd.h include to provide the declaration and
silence the error.

Signed-off-by: Deepa Dinamani &lt;deepa.kernel@gmail.com&gt;
Acked-by: Willem de Bruijn &lt;willemb@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests/net: rxtimestamp: Fix an off by one</title>
<updated>2017-10-06T04:28:53Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2017-10-05T12:53:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1561b3266ebe029c487a95f92d1a58c03ded84a1'/>
<id>urn:sha1:1561b3266ebe029c487a95f92d1a58c03ded84a1</id>
<content type='text'>
The &gt; should be &gt;= so that we don't write one element beyond the end of
the array.

Fixes: 16e781224198 ("selftests/net: Add a test to validate behavior of rx timestamps")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests/net: Add a test to validate behavior of rx timestamps</title>
<updated>2017-08-24T03:30:47Z</updated>
<author>
<name>Mike Maloney</name>
</author>
<published>2017-08-22T21:08:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=16e781224198be06389f6bd8a757c829bf221ea0'/>
<id>urn:sha1:16e781224198be06389f6bd8a757c829bf221ea0</id>
<content type='text'>
Validate the behavior of the combination of various timestamp socket
options, and ensure consistency across ip, udp, and tcp.

Signed-off-by: Mike Maloney &lt;maloney@google.com&gt;
Acked-by: Willem de Bruijn &lt;willemb@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
