diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2024-12-30 14:18:56 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 10:05:38 +0100 |
commit | 6d8b8678151301e8381204d8ff9dfedc98f41e63 (patch) | |
tree | 3e336c91d256c80a5cc5efe7fcb357fc20b60b29 /lib/crypto/mpi/mpi-mod.c | |
parent | 2c3109dcdaedce9ae9fb266d273f89156607acb0 (diff) |
nvmem: imx-ocotp-ele: simplify read beyond device check
commit 343aa1e289e8e3dba5e3d054c4eb27da7b4e1ecc upstream.
Do the read beyond device check on function entry in bytes instead of
32bit words which is easier to follow.
Fixes: 22e9e6fcfb50 ("nvmem: imx: support i.MX93 OCOTP")
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: stable <stable@kernel.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20241230141901.263976-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions