* [PATCH] input: strict_strtoul takes unsigned long
@ 2008-12-02 0:04 Harvey Harrison
2008-12-23 9:12 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Harvey Harrison @ 2008-12-02 0:04 UTC (permalink / raw)
To: Dmitry Torokhov, Andrew Morton; +Cc: linux-input, Joe Rouvier
Fix sparse warning introduced by:
commit 160f1fef7e52e974489b3c70fbd4e094c06965c2 Input: convert drivers to use strict_strtoul()
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
Just noticed this while fixing the lock annotation patch.
drivers/input/touchscreen/ads7846.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c
index 77ac820..f695b0b 100644
--- a/drivers/input/touchscreen/ads7846.c
+++ b/drivers/input/touchscreen/ads7846.c
@@ -472,7 +472,7 @@ static ssize_t ads7846_disable_store(struct device *dev,
const char *buf, size_t count)
{
struct ads7846 *ts = dev_get_drvdata(dev);
- long i;
+ unsigned long i;
if (strict_strtoul(buf, 10, &i))
return -EINVAL;
--
1.6.1.rc1.262.gb6810
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] input: strict_strtoul takes unsigned long
2008-12-02 0:04 [PATCH] input: strict_strtoul takes unsigned long Harvey Harrison
@ 2008-12-23 9:12 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2008-12-23 9:12 UTC (permalink / raw)
To: Harvey Harrison; +Cc: Andrew Morton, linux-input, Joe Rouvier
On Mon, Dec 01, 2008 at 04:04:20PM -0800, Harvey Harrison wrote:
> Fix sparse warning introduced by:
> commit 160f1fef7e52e974489b3c70fbd4e094c06965c2 Input: convert drivers to use strict_strtoul()
>
Applied, thank you Harvey.
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-23 9:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-02 0:04 [PATCH] input: strict_strtoul takes unsigned long Harvey Harrison
2008-12-23 9:12 ` Dmitry Torokhov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.