summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2015-08-30 07:33:55 (GMT)
committerMark Brown <broonie@kernel.org>2015-08-30 09:19:22 (GMT)
commitc335931ed9d22c30017cf957518262c2fe6502ce (patch)
treed5468748135748a6bad1e728af55adb7af909b53 /usr
parentf50c9eb4e9304cf555206c93152f580c0e7213b2 (diff)
downloadlinux-c335931ed9d22c30017cf957518262c2fe6502ce.tar.xz
regmap: Add raw_write/read checks for max_raw_write/read sizes
Check in regmap_raw_read() and regmap_raw_write() for correct maximum sizes of the operations. Return -E2BIG if this size is not supported because it is too big. Also this patch causes an uninitialized variable warning so it initializes ret (although not necessary). Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions