mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
0c6d5c89a1
I noticed there was a problem here because Smatch complained:
drivers/w1/slaves/w1_therm.c:416 w1_seq_show() warn:
inconsistent returns 'mutex:&sl->master->mutex'.
Locked on: line 416
Unlocked on: line 413
The problem is that we lock ->mutex but we unlock ->bus_mutex on error.
David Fries says that ->bus_mutex is correct and ->mutex is incorrect.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
w1_bq27000.c | ||
w1_ds28e04.c | ||
w1_ds2406.c | ||
w1_ds2408.c | ||
w1_ds2413.c | ||
w1_ds2423.c | ||
w1_ds2431.c | ||
w1_ds2433.c | ||
w1_ds2760.c | ||
w1_ds2760.h | ||
w1_ds2780.c | ||
w1_ds2780.h | ||
w1_ds2781.c | ||
w1_ds2781.h | ||
w1_smem.c | ||
w1_therm.c |