aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2015-07-01 23:51:43 +0100
committerMark Brown <[email protected]>2015-07-14 11:23:08 +0100
commitfa3eec7791b0fe27e3112804a71ba445ff336a6b (patch)
tree770834b4226186039a7227e71ccd877b8dd7c82a /lib
parent04dc91ce2cca5927159c689aa1f47663f8c51530 (diff)
regmap: Silence warning on invalid zero length read
Zero length reads make no sense in a regmap context and are likely to trigger bugs further down the stack so insert an error check, also silencing compiler warnings about use of ret in cases where we iterate per register. Reported-by: Russell King <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions