diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-08-30 07:33:55 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-30 09:19:22 (GMT) |
commit | c335931ed9d22c30017cf957518262c2fe6502ce (patch) | |
tree | d5468748135748a6bad1e728af55adb7af909b53 /fs/mpage.c | |
parent | f50c9eb4e9304cf555206c93152f580c0e7213b2 (diff) | |
download | linux-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 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions