From: Markus Mayer <mmayer@broadcom.com>
To: Andrew Morton <akpm@linux-foundation.org>,
Al Viro <viro@zeniv.linux.org.uk>,
Rasmus Villemoes <linux@rasmusvillemoes.dk>,
Chris Metcalf <cmetcalf@ezchip.com>,
Kees Cook <keescook@chromium.org>
Cc: Markus Mayer <mmayer@broadcom.com>,
dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org,
linux-acpi@vger.kernel.org, devel@acpica.org,
speakup@linux-speakup.org, devel@driverdev.osuosl.org,
linux-scsi@vger.kernel.org, target-devel@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/6] lib: string: add function strtolower()
Date: Thu, 30 Jun 2016 16:50:06 -0700 [thread overview]
Message-ID: <1467330612-26242-1-git-send-email-mmayer@broadcom.com> (raw)
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(-)
--
2.7.4
next reply other threads:[~2016-06-30 23:50 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-30 23:50 Markus Mayer [this message]
2016-06-30 23:50 ` [PATCH 1/6] lib: string: add function strtolower() Markus Mayer
2016-07-01 10:52 ` Jani Nikula
2016-07-01 17:14 ` Markus Mayer
2016-07-01 17:33 ` Jani Nikula
2016-07-01 21:08 ` Rasmus Villemoes
2016-07-04 20:18 ` Markus Mayer
2016-06-30 23:50 ` [PATCH 2/6] drm/nouveau/core: make use of new strtolower() function Markus Mayer
2016-07-02 1:18 ` [Nouveau] " Alexandre Courbot
2016-07-02 15:21 ` Markus Mayer
2016-07-04 1:37 ` Alexandre Courbot
2016-07-04 3:39 ` Alexandre Courbot
2016-06-30 23:50 ` [PATCH 3/6] ACPICA: " Markus Mayer
2016-07-01 1:11 ` Moore, Robert
[not found] ` <CAGt4E5uqbjaubPWE4rq-T7MvqAmwpUhvakM+jv+Sen8est9U5g@mail.gmail.com>
[not found] ` <94F2FBAB4432B54E8AACC7DFDE6C92E37E4C381C@ORSMSX110.amr.corp.intel.com>
2016-07-01 4:13 ` Markus Mayer
2016-07-01 4:32 ` Moore, Robert
2016-06-30 23:50 ` [PATCH 4/6] ACPI / device_sysfs: " Markus Mayer
2016-07-01 20:44 ` Rafael J. Wysocki
2016-06-30 23:50 ` [PATCH 5/6] staging: speakup: replace spk_strlwr() with strtolower() Markus Mayer
2016-06-30 23:53 ` Samuel Thibault
2016-06-30 23:50 ` [PATCH 6/6] iscsi-target: replace iscsi_initiatorname_tolower() " Markus Mayer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1467330612-26242-1-git-send-email-mmayer@broadcom.com \
--to=mmayer@broadcom.com \
--cc=akpm@linux-foundation.org \
--cc=cmetcalf@ezchip.com \
--cc=devel@acpica.org \
--cc=devel@driverdev.osuosl.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=keescook@chromium.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=nouveau@lists.freedesktop.org \
--cc=speakup@linux-speakup.org \
--cc=target-devel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).