* [PATCH] video/backlight: Fix string type mismatch in s6e63m0.c
@ 2014-04-24 15:47 Masanari Iida
2014-04-24 16:36 ` Bryan Wu
2014-04-28 10:27 ` Lee Jones
0 siblings, 2 replies; 3+ messages in thread
From: Masanari Iida @ 2014-04-24 15:47 UTC (permalink / raw)
To: jg1.han, cooloney, lee.jones, linux-fbdev, linux-kernel; +Cc: Masanari Iida
Fix string type mismatch in s6e63m0_sysfs_show_gamma_table().
gamma_table_count is defined as unsigned int.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
drivers/video/backlight/s6e63m0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight/s6e63m0.c
index 510a1bc..2d6d481 100644
--- a/drivers/video/backlight/s6e63m0.c
+++ b/drivers/video/backlight/s6e63m0.c
@@ -703,7 +703,7 @@ static ssize_t s6e63m0_sysfs_show_gamma_table(struct device *dev,
struct s6e63m0 *lcd = dev_get_drvdata(dev);
char temp[3];
- sprintf(temp, "%d\n", lcd->gamma_table_count);
+ sprintf(temp, "%u\n", lcd->gamma_table_count);
strcpy(buf, temp);
return strlen(buf);
--
2.0.0.rc0.26.g779792a
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] video/backlight: Fix string type mismatch in s6e63m0.c
2014-04-24 15:47 [PATCH] video/backlight: Fix string type mismatch in s6e63m0.c Masanari Iida
@ 2014-04-24 16:36 ` Bryan Wu
2014-04-28 10:27 ` Lee Jones
1 sibling, 0 replies; 3+ messages in thread
From: Bryan Wu @ 2014-04-24 16:36 UTC (permalink / raw)
To: Masanari Iida; +Cc: Jingoo Han, Lee Jones, FBDEV list, lkml
On Thu, Apr 24, 2014 at 8:47 AM, Masanari Iida <standby24x7@gmail.com> wrote:
> Fix string type mismatch in s6e63m0_sysfs_show_gamma_table().
> gamma_table_count is defined as unsigned int.
>
Looks good to me,
Acked-by: Bryan Wu <cooloney@gmail.com>
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
> drivers/video/backlight/s6e63m0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight/s6e63m0.c
> index 510a1bc..2d6d481 100644
> --- a/drivers/video/backlight/s6e63m0.c
> +++ b/drivers/video/backlight/s6e63m0.c
> @@ -703,7 +703,7 @@ static ssize_t s6e63m0_sysfs_show_gamma_table(struct device *dev,
> struct s6e63m0 *lcd = dev_get_drvdata(dev);
> char temp[3];
>
> - sprintf(temp, "%d\n", lcd->gamma_table_count);
> + sprintf(temp, "%u\n", lcd->gamma_table_count);
> strcpy(buf, temp);
>
> return strlen(buf);
> --
> 2.0.0.rc0.26.g779792a
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] video/backlight: Fix string type mismatch in s6e63m0.c
2014-04-24 15:47 [PATCH] video/backlight: Fix string type mismatch in s6e63m0.c Masanari Iida
2014-04-24 16:36 ` Bryan Wu
@ 2014-04-28 10:27 ` Lee Jones
1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2014-04-28 10:27 UTC (permalink / raw)
To: Masanari Iida; +Cc: jg1.han, cooloney, linux-fbdev, linux-kernel
> Fix string type mismatch in s6e63m0_sysfs_show_gamma_table().
> gamma_table_count is defined as unsigned int.
>
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
> drivers/video/backlight/s6e63m0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-28 10:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-24 15:47 [PATCH] video/backlight: Fix string type mismatch in s6e63m0.c Masanari Iida
2014-04-24 16:36 ` Bryan Wu
2014-04-28 10:27 ` Lee Jones
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).