summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-10-29 08:30:11 +0300
committerRob Herring (Arm) <robh@kernel.org>2026-02-18 16:28:08 -0600
commit7be41fb00e2c2a823f271a8318b453ca11812f1e (patch)
treef7978596a7b297bf8cebdf3cb243a3cd3a38cec1 /include/linux
parent46120745bb4e7e1f09959624716b4c5d6e2c2e9e (diff)
accel: ethosu: Fix shift overflow in cmd_to_addr()
The "((cmd[0] & 0xff0000) << 16)" shift is zero. This was intended to be (((u64)cmd[0] & 0xff0000) << 16). Move the cast to the correct location. Fixes: 5a5e9c0228e6 ("accel: Add Arm Ethos-U NPU driver") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://patch.msgid.link/aQGmY64tWcwOGFP4@stanley.mountain Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions