[lvc-project] [PATCH net v2] broadcom: b44: prevent uninitialized value usage
Fedor Pchelkin
pchelkin at ispras.ru
Fri Dec 5 18:20:37 MSK 2025
On Fri, 05. Dec 11:11, Paolo Abeni wrote:
> On 12/5/25 8:17 AM, Alexey Simakov wrote:
> > On execution path with raised B44_FLAG_EXTERNAL_PHY, b44_readphy()
> > leaves bmcr value uninitialized and it is used later in the code.
> >
> > Add check of this flag at the beginning of the b44_nway_reset() and
> > exit early of the function with restarting autonegotiation if an
> > external PHY is used.
> >
> > Found by Linux Verification Center (linuxtesting.org) with Svace.
> >
> > Fixes: 753f492093da ("[B44]: port to native ssb support")
> > Signed-off-by: Alexey Simakov <bigalex934 at gmail.com>
>
> You need to include the netdev ML in the recipients list to get this
> patch processed.
Списки рассылки, выдаваемые get_maintainer.pl, обязательно нужно добавлять
в адресаты патча.
netdev at vger.kernel.org
linux-kernel at vger.kernel.org
Можете завтра выслать v3, добавив _всех_ нужных адресатов.
Соответственно в changelog'е версий нужно будет добавить
v3: add needed mailing lists into Cc.
Также самостоятельно стоит добавить строчки Reviewed-by от тех, кто это
уже сделал на патч.
Fixes: 753f492093da ("[B44]: port to native ssb support")
Reviewed-by: Jonas Gorski <jonas.gorski at gmail.com>
Reviewed-by: Andrew Lunn <andrew at lunn.ch>
Signed-off-by: Alexey Simakov <bigalex934 at gmail.com>
Перепосылать это в lvc-patches at linuxtesting.org не надо. Можно сразу в
сообщество, главное, учтите эти нюансы.
More information about the lvc-project
mailing list