Re: [PATCH] net: tulip: Remove private "strncmp"

2014-12-09 Thread David Miller
From: Rasmus Villemoes Date: Thu, 4 Dec 2014 11:30:40 +0100 > The comment says that the built-in strncmp didn't work. That is not > surprising, as apparently "str" semantics are not really what is > wanted (hint: de4x5_strncmp only stops when two different bytes are > encountered or the end is r

Re: [PATCH] net: tulip: Remove private "strncmp"

2014-12-04 Thread Grant Grundler
On Thu, Dec 4, 2014 at 2:30 AM, Rasmus Villemoes wrote: > The comment says that the built-in strncmp didn't work. That is not > surprising, as apparently "str" semantics are not really what is > wanted (hint: de4x5_strncmp only stops when two different bytes are > encountered or the end is reached

[PATCH] net: tulip: Remove private "strncmp"

2014-12-04 Thread Rasmus Villemoes
The comment says that the built-in strncmp didn't work. That is not surprising, as apparently "str" semantics are not really what is wanted (hint: de4x5_strncmp only stops when two different bytes are encountered or the end is reached; not if either byte happens to be 0). de4x5_strncmp is actually