summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorSteffen Bätz <steffen@innosonix.de>2025-07-12 21:17:27 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-13 18:43:13 +0300
commit2aa4ad626ee7f817a8f4715a47b318cfdc1714c9 (patch)
treead8800adc08c47e283e33bac4ef683bb85a94a65 /scripts/gdb/linux/interrupts.py
parentae68ad3d7a93ea1eedbce8e5813273163b971b36 (diff)
downloadlinux-2aa4ad626ee7f817a8f4715a47b318cfdc1714c9.tar.xz
nvmem: imx-ocotp: fix MAC address byte length
The commit "13bcd440f2ff nvmem: core: verify cell's raw_len" caused an extension of the "mac-address" cell from 6 to 8 bytes due to word_size of 4 bytes. This led to a required byte swap of the full buffer length, which caused truncation of the mac-address when read. Previously, the mac-address was incorrectly truncated from 70:B3:D5:14:E9:0E to 00:00:70:B3:D5:14. Fix the issue by swapping only the first 6 bytes to correctly pass the mac-address to the upper layers. Fixes: 13bcd440f2ff ("nvmem: core: verify cell's raw_len") Cc: stable@vger.kernel.org Signed-off-by: Steffen Bätz <steffen@innosonix.de> Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org> Link: https://lore.kernel.org/r/20250712181729.6495-3-srini@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions