[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150603.202139.67164973308592314.davem@davemloft.net>
Date: Wed, 03 Jun 2015 20:21:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: linux@...musvillemoes.dk
Cc: grundler@...isc-linux.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: tulip: rearrange order of searching for substrings
From: Rasmus Villemoes <linux@...musvillemoes.dk>
Date: Wed, 3 Jun 2015 13:44:03 +0200
> Currently, two of the branches are dead code, since an earlier smaller
> substring would have been found ("TP" in the "TP_NW" case and either
> of "BNC" and "AUI" in the "BNC_AUI" case). Rearrange the strstr()
> calls so that the longer strings are searched for first.
>
> Signed-off-by: Rasmus Villemoes <linux@...musvillemoes.dk>
Applied to net-next, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists