[lvc-project] [PATCH net] be2net: check wrb_params for NULL value
Fedor Pchelkin
pchelkin at ispras.ru
Fri Nov 14 10:25:35 MSK 2025
On Thu, 13. Nov 17:38, Jakub Kicinski wrote:
> 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.
Видимо предлагают передать wrb_params извне тем способом, что описывал
ранее. Насчёт hard spaces - это должно быть про двойной пробел между
предложениями в тексте, что я скинул. Хм, не думал, что и к этому
придерутся, тогда лучше удалить двойные пробелы, оставив единичные.
v2 можете выслать также на предв. ревью в lvc-patches.
More information about the lvc-project
mailing list