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

From: Srinivas Kandagatla
Date: Thu Feb 19 2015 - 03:40:28 EST


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/