summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2026-03-14 12:43:00 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-18 06:32:08 +0300
commit0b3d090314372055e0c5544be1f781e988859198 (patch)
treef0b4f8501fe6e3ac507ad9dfeed1ae7f0fc08352 /include/linux/debugobjects.h
parentbea37bda7f75c552e0ddddec2d04c3c7c6222208 (diff)
downloadlinux-0b3d090314372055e0c5544be1f781e988859198.tar.xz
net: stmmac: use consistent tests for receive buffer size
Two out of the three sites that set the receive buffer size (via stmmac_set_dma_bfsize()) check for rx_q->xsk_pool && rx_q->buf_alloc_num. One uses just rx_q->xsk_pool. Discussing with Yoong Siang Song, the conclusion is that stmmac_dma_operation_mode() is missing the rx_q->buf_alloc_num check. Add this check. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1w1LWO-0000000DGSR-3CaB@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions