[PATCH 0/2] regmap: fix range checks in _regmap_raw_read/write()

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Thu Feb 19 00:39:53 PST 2015


These two patches attempts to fix range checks in _regmap_raw_read()
and _regmap_raw_write() functions. Without these patches I hit kernel
crash when I attempt to dump the mmio regmap range using regmap_bulk_read().


Srinivas Kandagatla (2):
  regmap: Add range check in _regmap_raw_read()
  regmap: Add range check in _regmap_raw_write()

 drivers/base/regmap/regmap.c | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

-- 
1.9.1




More information about the linux-arm-kernel mailing list