projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
checkpatch: prefer strscpy to strlcpy
[linux-2.6-microblaze.git]
/
drivers
/
hwmon
/
scmi-hwmon.c
diff --git
a/drivers/hwmon/scmi-hwmon.c
b/drivers/hwmon/scmi-hwmon.c
index
09ce30c
..
17d064e
100644
(file)
--- a/
drivers/hwmon/scmi-hwmon.c
+++ b/
drivers/hwmon/scmi-hwmon.c
@@
-30,7
+30,7
@@
static inline u64 __pow10(u8 x)
static int scmi_hwmon_scale(const struct scmi_sensor_info *sensor, u64 *value)
{
-
s8
scale = sensor->scale;
+
int
scale = sensor->scale;
u64 f;
switch (sensor->type) {