]> 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)
commit33d775712a0b527608e7238e52a29c93db545a01
tree05ef86bb194ba1bdefe42f2668af953a9bf09611
parentdd4eba0e737db5c0aebbb685dc12698f06b3a1ab
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: a57b7460ae49 ("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