aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2023-04-15 20:23:33 +0200
committerSebastian Reichel <[email protected]>2023-05-08 15:29:11 +0200
commit444ff00734f3878cd54ddd1ed5e2e6dbea9326d5 (patch)
tree2e563a29a4770d8eddaaa8bde706e9f57b693c30 /lib/test_fortify/write_overflow-strlcpy-src.c
parent5c34c0aef185dcd10881847b9ebf20046aa77cb4 (diff)
power: supply: bq27xxx: Fix I2C IRQ race on remove
devm_request_threaded_irq() requested IRQs are only free-ed after the driver's remove function has ran. So the IRQ could trigger and call bq27xxx_battery_update() after bq27xxx_battery_teardown() has already run. Switch to explicitly free-ing the IRQ in bq27xxx_battery_i2c_remove() to fix this. Fixes: 8807feb91b76 ("power: bq27xxx_battery: Add interrupt handling support") Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions