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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to