From: Johannes Thumshirn <morbidrsa@googlemail.com>
To: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org
Cc: grabner@icg.tugraz.at, andor.daam@googlemail.com,
thomas@m3y3r.de, jj@chaosbits.net, stefanha@gmail.com,
Johannes Thumshirn <morbidrsa@googlemail.com>
Subject: [PATCH 2/8] drivers/staging/line6/pod.c: Change strict_strtoul to kstrtoul
Date: Sat, 5 May 2012 16:31:46 +0200 [thread overview]
Message-ID: <1336228312-5379-3-git-send-email-morbidrsa@googlemail.com> (raw)
In-Reply-To: <1336228312-5379-1-git-send-email-morbidrsa@googlemail.com>
Changed strict_strtoul() call to kstrtoul to make checkpatch.pl happy
Signed-off-by: Johannes Thumshirn <morbidrsa@googlemail.com>
---
drivers/staging/line6/pod.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/line6/pod.c b/drivers/staging/line6/pod.c
index 4dadc57..d61b253 100644
--- a/drivers/staging/line6/pod.c
+++ b/drivers/staging/line6/pod.c
@@ -438,7 +438,7 @@ static int pod_resolve(const char *buf, short block0, short block1,
short block;
int ret;
- ret = strict_strtoul(buf, 10, &value);
+ ret = kstrtoul(buf, 10, &value);
if (ret)
return ret;
@@ -563,7 +563,7 @@ static ssize_t pod_set_channel(struct device *dev,
unsigned long value;
int ret;
- ret = strict_strtoul(buf, 10, &value);
+ ret = kstrtoul(buf, 10, &value);
if (ret)
return ret;
@@ -895,7 +895,7 @@ static ssize_t pod_set_midi_postprocess(struct device *dev,
unsigned long value;
int ret;
- ret = strict_strtoul(buf, 10, &value);
+ ret = kstrtoul(buf, 10, &value);
if (ret)
return ret;
--
1.7.7.6
next prev parent reply other threads:[~2012-05-05 14:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-05 14:31 [PATCH 0/8] drivers/staging/line6/ chechpatch.pl cleanups Johannes Thumshirn
2012-05-05 14:31 ` [PATCH 1/8] drivers/staging/line6/control.c: Change strict_strtoul to kstrtoul Johannes Thumshirn
2012-05-06 6:34 ` Dan Carpenter
2012-05-06 8:27 ` Johannes Thumshirn
2012-05-06 11:12 ` Dan Carpenter
2012-05-05 14:31 ` Johannes Thumshirn [this message]
2012-05-06 6:38 ` [PATCH 2/8] drivers/staging/line6/pod.c: " Dan Carpenter
2012-05-05 14:31 ` [PATCH 3/8] drivers/staging/line6/variax.c: " Johannes Thumshirn
2012-05-06 6:45 ` Dan Carpenter
2012-05-05 14:31 ` [PATCH 4/8] drivers/staging/line6/config.h: changed printk(KERN_INFO, ... to pr_info( Johannes Thumshirn
2012-05-06 6:40 ` Dan Carpenter
2012-05-05 14:31 ` [PATCH 5/8] drivers/staging/line6/driver.h: Changed printk(KERN_ERR, .. to pr_err Changed printk(KERN_ERR, ...) call to pr_err() call in MISSING_CASE macro Johannes Thumshirn
2012-05-06 6:42 ` Dan Carpenter
2012-05-05 14:31 ` [PATCH 6/8] drivers/staging/line6/midibuf.c changed printk(KERN_DEBUG, ... to pr_debug( Johannes Thumshirn
2012-05-05 14:31 ` [PATCH 7/8] drivers/staging/line6/midi.c: Added space between switch and open parenthesis Johannes Thumshirn
2012-05-05 14:31 ` [PATCH 8/8] drivers/staging/line6/pcm.c: Removed trailing whitespace Johannes Thumshirn
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=1336228312-5379-3-git-send-email-morbidrsa@googlemail.com \
--to=morbidrsa@googlemail.com \
--cc=andor.daam@googlemail.com \
--cc=devel@driverdev.osuosl.org \
--cc=grabner@icg.tugraz.at \
--cc=gregkh@linuxfoundation.org \
--cc=jj@chaosbits.net \
--cc=linux-kernel@vger.kernel.org \
--cc=stefanha@gmail.com \
--cc=thomas@m3y3r.de \
/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).