Searched hist:"536 cc27d" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/iio/magnetometer/ |
H A D | hmc5843_spi.c | 536cc27d Sat Mar 16 17:08:33 CDT 2019 Kangjie Lu <kjlu@umn.edu> iio: hmc5843: fix potential NULL pointer dereferences
devm_regmap_init_i2c may fail and return NULL. The fix returns the error when it fails.
Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> 536cc27d Sat Mar 16 17:08:33 CDT 2019 Kangjie Lu <kjlu@umn.edu> iio: hmc5843: fix potential NULL pointer dereferences devm_regmap_init_i2c may fail and return NULL. The fix returns the error when it fails. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|
H A D | hmc5843_i2c.c | 536cc27d Sat Mar 16 17:08:33 CDT 2019 Kangjie Lu <kjlu@umn.edu> iio: hmc5843: fix potential NULL pointer dereferences
devm_regmap_init_i2c may fail and return NULL. The fix returns the error when it fails.
Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> 536cc27d Sat Mar 16 17:08:33 CDT 2019 Kangjie Lu <kjlu@umn.edu> iio: hmc5843: fix potential NULL pointer dereferences devm_regmap_init_i2c may fail and return NULL. The fix returns the error when it fails. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|