lkml.org 
[lkml]   [2014]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 00/22] treewide: Replace strnicmp with strncasecmp
Date
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.

Sorry for the unimaginative and identical commit messages.

Rasmus Villemoes (22):
ARM: Replace strnicmp with strncasecmp
block: Replace strnicmp with strncasecmp
netfilter: Replace strnicmp with strncasecmp
video: fbdev: Replace strnicmp with strncasecmp
cifs: Replace strnicmp with strncasecmp
ocfs2: Replace strnicmp with strncasecmp
isofs: Replace strnicmp with strncasecmp
ALSA: hda - Replace strnicmp with strncasecmp
batman-adv: Replace strnicmp with strncasecmp
ACPI / battery: Replace strnicmp with strncasecmp
cpufreq: Replace strnicmp with strncasecmp
cpuidle: Replace strnicmp with strncasecmp
scsi: Replace strnicmp with strncasecmp
ib_srpt: Replace strnicmp with strncasecmp
Input: edt-ft5x06 - Replace strnicmp with strncasecmp
altera-stapl: Replace strnicmp with strncasecmp
thinkpad_acpi: Replace strnicmp with strncasecmp
PNP: Replace strnicmp with strncasecmp
s390/cio: Replace strnicmp with strncasecmp
staging: r8188eu: Replace strnicmp with strncasecmp
Thermal: Replace strnicmp with strncasecmp
kdb: Replace strnicmp with strncasecmp

arch/arm/mach-pxa/lpd270.c | 12 ++---
block/partitions/mac.c | 8 ++--
drivers/acpi/battery.c | 2 +-
drivers/cpufreq/cpufreq.c | 6 +--
drivers/cpuidle/governor.c | 2 +-
drivers/infiniband/ulp/srpt/ib_srpt.c | 2 +-
drivers/input/touchscreen/edt-ft5x06.c | 2 +-
drivers/misc/altera-stapl/altera.c | 4 +-
drivers/platform/x86/thinkpad_acpi.c | 4 +-
drivers/pnp/interface.c | 24 +++++-----
drivers/s390/cio/chp.c | 4 +-
drivers/scsi/ips.c | 2 +-
drivers/scsi/scsi_debug.c | 2 +-
drivers/staging/rtl8188eu/os_dep/rtw_android.c | 2 +-
drivers/thermal/thermal_core.c | 8 ++--
drivers/video/fbdev/pvr2fb.c | 2 +-
drivers/video/fbdev/s3c2410fb.c | 8 ++--
drivers/video/fbdev/sis/sis_main.c | 66 +++++++++++++-------------
drivers/video/fbdev/sm501fb.c | 4 +-
fs/cifs/cifs_dfs_ref.c | 6 +--
fs/cifs/connect.c | 4 +-
fs/isofs/inode.c | 2 +-
fs/ocfs2/cluster/heartbeat.c | 2 +-
fs/ocfs2/cluster/masklog.c | 6 +--
kernel/debug/kdb/kdb_bp.c | 6 +--
net/batman-adv/gateway_common.c | 8 ++--
net/netfilter/ipvs/ip_vs_ftp.c | 6 +--
net/netfilter/nf_conntrack_ftp.c | 4 +-
net/netfilter/nf_conntrack_sip.c | 22 ++++-----
net/netfilter/nf_log.c | 2 +-
net/netfilter/nf_nat_sip.c | 2 +-
sound/pci/hda/hda_sysfs.c | 2 +-
32 files changed, 118 insertions(+), 118 deletions(-)

--
2.0.4



\
 
 \ /
  Last update: 2014-09-16 23:21    [W:0.150 / U:1.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site