[lvc-project] [PATCH] cxgb4: Removing the rudimentary cast after the added
Fedor Pchelkin
pchelkin at ispras.ru
Thu May 28 11:28:45 MSK 2026
Название патча "cxgb4: Removing the rudimentary cast after the added" к
сожалению совсем непонятно.
On Mon, 25. May 15:43, Markov Gleb wrote:
> From: Gleb Markov <markov.gi at npc-ksb.ru>
>
> The sge_idma_decode_nstates variable is overwritten after
> processing the switch-case.
> In order to avoid incorrect casting, it was suggested
> to delete the if-else case.
Проблема не в кастинге, а в том, что из-за этого if-else блока теряется
поддержка t6_decode.
Просьба переформулировать описание и название патча.
В теме письма также потребуется целевая ветка для сетевиков: [PATCH net]
>
> Delete the if-else block.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Fixes: 68bce1922fa9 ("cxgb4: Add code to dump SGE registers when hitting idma hangs")
Данный коммит не вводил ошибку. При нём всё было ОК. Сумятица была
внесена коммитом, добавившим switch и поддержку t6_decode коммитом
6df397539cb0 ("cxgb4: Update correct encoding of SGE Ingress DMA States for T6 adapter").
More information about the lvc-project
mailing list