OpenCloudOS-Kernel/drivers/misc/altera-stapl
Rasmus Villemoes 30614cf341 altera-stapl: replace strnicmp with strncasecmp
The kernel used to contain two functions for length-delimited,
case-insensitive string comparison, strnicmp with correct semantics and
a slightly buggy strncasecmp.  The latter is the POSIX name, so strnicmp
was renamed to strncasecmp, and strnicmp made into a wrapper for the new
strncasecmp to avoid breaking existing users.

To allow the compat wrapper strnicmp to be removed at some point in the
future, and to avoid the extra indirection cost, do
s/strnicmp/strncasecmp/g.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: "Igor M. Liplianin" <liplianin@netup.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-10-14 02:18:25 +02:00
..
Kconfig [media] altera-stapl: it is time to move out from staging 2011-09-23 15:00:57 -03:00
Makefile [media] altera-stapl: it is time to move out from staging 2011-09-23 15:00:57 -03:00
altera-comp.c [media] altera-stapl: it is time to move out from staging 2011-09-23 15:00:57 -03:00
altera-exprt.h [media] altera-stapl: it is time to move out from staging 2011-09-23 15:00:57 -03:00
altera-jtag.c [media] altera-stapl: it is time to move out from staging 2011-09-23 15:00:57 -03:00
altera-jtag.h [media] altera-stapl: it is time to move out from staging 2011-09-23 15:00:57 -03:00
altera-lpt.c [media] altera-stapl: it is time to move out from staging 2011-09-23 15:00:57 -03:00
altera.c altera-stapl: replace strnicmp with strncasecmp 2014-10-14 02:18:25 +02:00