All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] regmap: fix range checks in _regmap_raw_read/write()
@ 2015-02-19  8:39 ` Srinivas Kandagatla
  0 siblings, 0 replies; 24+ messages in thread
From: Srinivas Kandagatla @ 2015-02-19  8:39 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2015-02-24  9:12 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19  8:39 [PATCH 0/2] regmap: fix range checks in _regmap_raw_read/write() Srinivas Kandagatla
2015-02-19  8:39 ` Srinivas Kandagatla
2015-02-19  8:40 ` [PATCH 1/2] regmap: Add range check in _regmap_raw_read() Srinivas Kandagatla
2015-02-19  8:40   ` Srinivas Kandagatla
2015-02-19 10:27   ` Mark Brown
2015-02-19 10:27     ` Mark Brown
2015-02-19 11:04     ` Srinivas Kandagatla
2015-02-19 11:04       ` Srinivas Kandagatla
2015-02-19 12:21       ` Mark Brown
2015-02-19 12:21         ` Mark Brown
2015-02-19 13:02         ` Srinivas Kandagatla
2015-02-19 13:02           ` Srinivas Kandagatla
2015-02-24  8:55           ` Mark Brown
2015-02-24  8:55             ` Mark Brown
2015-02-24  9:12             ` Srinivas Kandagatla
2015-02-24  9:12               ` Srinivas Kandagatla
2015-02-19  8:40 ` [PATCH 2/2] regmap: Add range check in _regmap_raw_write() Srinivas Kandagatla
2015-02-19  8:40   ` Srinivas Kandagatla
2015-02-19 10:31   ` Mark Brown
2015-02-19 10:31     ` Mark Brown
2015-02-19 11:11     ` Srinivas Kandagatla
2015-02-19 11:11       ` Srinivas Kandagatla
2015-02-19 11:55       ` Mark Brown
2015-02-19 11:55         ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.