diff options
| author | Chenguang Zhao <zhaochenguang@kylinos.cn> | 2026-07-23 13:57:35 +0800 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-07-28 15:53:49 +0200 |
| commit | e095f249e2209674f6366f6db0383a2b96e19239 (patch) | |
| tree | 70a69371f4f1b67732d208b0afe2e7db0036fffb /include/linux | |
| parent | 080695e6f005e2396f1207fd69d24c442cb230c6 (diff) | |
net: ethernet: mtk_eth_soc: pass eth to mtk_handle_irq_rx in poll_controller
mtk_handle_irq_rx expects a struct mtk_eth * (matching the request_irq
cookie), but mtk_poll_controller incorrectly passed the net_device *.
Calling ndo_poll_controller with CONFIG_NET_POLL_CONTROLLER enabled
would then crash.
Fixes: 8186f6e382d8 ("net-next: mediatek: fix compile error inside mtk_poll_controller()")
Signed-off-by: Chenguang Zhao <zhaochenguang@kylinos.cn>
Link: https://patch.msgid.link/20260723055735.885112-1-chenguang.zhao@linux.dev
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
