From: Rasmus Villemoes <[email protected]>
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 <[email protected]>
Applied to net-next, thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/