projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
679f50b
)
hwmon: (sht15) Fix parameter documentation of sht15_crc8()
author
Guenter Roeck
<linux@roeck-us.net>
Sun, 3 Dec 2017 23:18:34 +0000
(15:18 -0800)
committer
Guenter Roeck
<linux@roeck-us.net>
Tue, 2 Jan 2018 23:05:34 +0000
(15:05 -0800)
Sparse reports:
drivers/hwmon/sht15.c:188: warning:
No description found for parameter 'len'
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/sht15.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/sht15.c
b/drivers/hwmon/sht15.c
index 25d28343ba936f42c3de33272f6d8bef20dda2ac..2be77752cd56b4a154a3d6603bf17d08267ea65e 100644
(file)
--- a/
drivers/hwmon/sht15.c
+++ b/
drivers/hwmon/sht15.c
@@
-179,6
+179,7
@@
struct sht15_data {
* sht15_crc8() - compute crc8
* @data: sht15 specific data.
* @value: sht15 retrieved data.
+ * @len: Length of retrieved data
*
* This implements section 2 of the CRC datasheet.
*/