lib: string: add function strtolower()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | lib: string: add function strtolower()include/ lib/ | +15 | 6 replies | |
| 2/6 | drm/nouveau/core: make use of new strtolower() functiondrivers/ | +1 | 4 replies | |
| 3/6 | ACPICA: make use of new strtolower() functiondrivers/ | +1 | 4 replies | |
| 4/6 | ACPI / device_sysfs: make use of new strtolower() functiondrivers/ | +1 | 1 reply | |
| 5/6 | staging: speakup: replace spk_strlwr() with strtolower()drivers/ drivers/ drivers/ +1 more | +2 | 1 reply | |
| 6/6 | iscsi-target: replace iscsi_initiatorname_tolower() with strtolower()drivers/ | +1 | 0 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Samuel Thibault |
|---|---|
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | A-b |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] lib: string: add function strtolower()
This series introduces a new generic function strtolower(), which converts strings to lowercase in-place, overwriting the original string. This kind of functionality is needed in several places in the kernel. Right now, everybody seems to be implementing their own copy of this function. So, we replace several custom "strtolower" implementations with this new library function.
Another driver that also makes use of this function will be submitted upstream shortly, which prompted this whole exercise.
The changes made here have been compile-tested, but not tried out, due to lack of required hardware.
This series is based on v4.7-rc5.
Markus Mayer (6):
lib: string: add function strtolower()
drm/nouveau/core: make use of new strtolower() function
ACPICA: make use of new strtolower() function
ACPI / device_sysfs: make use of new strtolower() function
staging: speakup: replace spk_strlwr() with strtolower()
iscsi-target: replace iscsi_initiatorname_tolower() with strtolower()
drivers/acpi/acpica/utnonansi.c | 13 +------------ drivers/acpi/device_sysfs.c | 4 +--- drivers/gpu/drm/nouveau/nvkm/core/firmware.c | 7 +------ drivers/staging/speakup/kobjects.c | 2 +- drivers/staging/speakup/main.c | 2 +- drivers/staging/speakup/speakup.h | 1 - drivers/staging/speakup/varhandlers.c | 12 ------------ drivers/target/iscsi/iscsi_target_nego.c | 17 +---------------- include/linux/string.h | 1 + lib/string.c | 14 ++++++++++++++ 10 files changed, 21 insertions(+), 52 deletions(-)
Signature · 1 line
2.7.4