[lvc-project] [PATCH net] be2net: check wrb_params for NULL value

Jakub Kicinski kuba at kernel.org
Fri Nov 14 04:38:07 MSK 2025


On Wed, 12 Nov 2025 09:21:04 +0000 Ваторопин Андрей wrote:
> Another way would be to pass a valid wrb_params from be_xmit(), but that
> seems to be redundant as the corresponding bit in wrb_params should have
> been already set there in advance with a call to be_xmit_workarounds().

I don't think so, or at least I don't see that for all cases..

Since there's just one caller and it has the struct handy I think 
it's better to just pass it and avoid the NULL.

BTW there are hard spaces in your commit msg, please try to fix
that for v2.
-- 
pw-bot: cr



More information about the lvc-project mailing list