git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: End of I/O region off-by-one
[sfrench/cifs-2.6.git]
/
drivers
/
hwmon
/
lm78.c
diff --git
a/drivers/hwmon/lm78.c
b/drivers/hwmon/lm78.c
index 565c4e679b8d4f1ebcf1cb04cc1faecd71fb31d9..6eea3476b90c37f6993e86421f4d5eb6d43429ef 100644
(file)
--- a/
drivers/hwmon/lm78.c
+++ b/
drivers/hwmon/lm78.c
@@
-882,7
+882,7
@@
static int __init lm78_isa_device_add(unsigned short address)
{
struct resource res = {
.start = address,
- .end = address + LM78_EXTENT,
+ .end = address + LM78_EXTENT
- 1
,
.name = "lm78",
.flags = IORESOURCE_IO,
};