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: 24cddbc3ef
("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>
This commit is contained in:
parent
bdee15e8c5
commit
9408f3d321
@ -1328,7 +1328,7 @@ static int happy_meal_init(struct happy_meal *hp)
|
||||
void __iomem *erxregs = hp->erxregs;
|
||||
void __iomem *bregs = hp->bigmacregs;
|
||||
void __iomem *tregs = hp->tcvregs;
|
||||
const char *bursts;
|
||||
const char *bursts = "64";
|
||||
u32 regtmp, rxcfg;
|
||||
|
||||
/* If auto-negotiation timer is running, kill it. */
|
||||
|
Loading…
Reference in New Issue
Block a user