Linux/linux a4c2fec — drivers/i2c i2c-core-of.c
i2c: core: fix use after free in of_i2c_notify We can't use "adap->dev" after it has been freed. Fixes: 5bf4fa7daea6 ("i2c: break out OF support into separate file") Signed-off-by: Wen Yang <wenyang at linux.alibaba.com> Signed-off-by: Wolfram Sang <wsa at the-dreams.de>
Delta | File | |
---|---|---|
+2 | -2 | drivers/i2c/i2c-core-of.c |
+2 | -2 | 1 files |