summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorAlex Elder <elder@riscstar.com>2026-08-12 11:38:31 -0500
committerJakub Kicinski <kuba@kernel.org>2026-08-17 11:21:49 -0700
commitc11c497af866ccd11c109de0833b2cd89cddd075 (patch)
tree7780807fe69611b016f9ad7682372a2bb82789db /tools/perf/scripts/python/bin/stackcollapse-record
parent0c1f9020d2ada55aed8a2e055903ad9cd5d49dab (diff)
net: stmmac: convert DMA address to lower 32 before assignment
In jumbo_frm() (implemented in both "chain_mode.c" and "ring_mode.c"), there are places where a DMA descriptor is converted to little-endian byte order in assignment. The DMA descriptor could be a 64-bit value, which makes the 32-bit byte swapping operation seem a little sketchy. Explicitly extract the low-order 32 bits of the dma_addr_t value being converted into a u32 so it's crystal clear that we're doing the right thing. Suggested-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: Alex Elder <elder@riscstar.com> Link: https://patch.msgid.link/20260812163832.271742-3-elder@riscstar.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions