commit | 7c806883e143dc60439e6bdb3589700ebed1efaa | [log] [tgz] |
---|---|---|
author | ZhengShunQian <zhengsq@rock-chips.com> | Wed Sep 30 13:33:56 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Oct 04 12:09:43 2015 +0100 |
tree | 1c0b21a959e88862b3179c2515975ed8e6319f5c | |
parent | 9ffecb10283508260936b96022d4ee43a7798b4c [diff] |
nvmem: core: fix the out-of-range leak in read/write() The position to read/write must be less than max register size. Signed-off-by: ZhengShunQian <zhengsq@rock-chips.com> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>