projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
563daaf
)
atxp1: Signed/unsigned char bug fix
author
Alexey Dobriyan
<adobriyan@gmail.com>
Mon, 28 Aug 2006 12:18:14 +0000
(14:18 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 28 Sep 2006 22:31:12 +0000
(15:31 -0700)
vid_to_reg() can return -1 and char can be unsigned.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/atxp1.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/atxp1.c
b/drivers/hwmon/atxp1.c
index 728a1e8b91904fe570e6767322d6e0a69dc84e2b..ba843f8c4cef42355697245f916bf3346a6355aa 100644
(file)
--- a/
drivers/hwmon/atxp1.c
+++ b/
drivers/hwmon/atxp1.c
@@
-116,8
+116,7
@@
static ssize_t atxp1_storevcore(struct device *dev, struct device_attribute *att
{
struct atxp1_data *data;
struct i2c_client *client;
- char vid;
- char cvid;
+ int vid, cvid;
unsigned int vcore;
client = to_i2c_client(dev);