diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-04-06 23:16:03 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-07 10:27:04 +0200 |
commit | 851960ba7cb38a6a108d102e4c8b0ab702972e22 (patch) | |
tree | 0af40ec3a92921077f71a2f8b703f64eb0eb322f /drivers/base/regmap/regmap-debugfs.c | |
parent | regmap: mmio: remove some error checks now in the core (diff) | |
download | linux-851960ba7cb38a6a108d102e4c8b0ab702972e22.tar.xz linux-851960ba7cb38a6a108d102e4c8b0ab702972e22.zip |
regmap: validate regmap_raw_read/write val_len
val_len should be a multiple of val_bytes. If it's not, error out early.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap/regmap-debugfs.c')
0 files changed, 0 insertions, 0 deletions