]> git.baikalelectronics.ru Git - kernel.git/commit
sunhme: Uninitialized variable in happy_meal_init()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 14 Oct 2022 14:33:02 +0000 (17:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Oct 2022 10:14:24 +0000 (11:14 +0100)
commit42d04e48843d417787809883860e4af2471c6ecf
tree05ef86bb194ba1bdefe42f2668af953a9bf09611
parent8e73575d3be7669256e034a117ca6198e44c1f86
sunhme: Uninitialized variable in happy_meal_init()

The "burst" string is only initialized for CONFIG_SPARC.  It should be
set to "64" because that's what is used by PCI.

Fixes: ddd356604ffb ("sunhme: Combine continued messages")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunhme.c