atm: forever loop loading ambassador firmware
Subsystems (4)
PATCH 1/1 atm: forever loop loading ambassador firmware
There was a forever loop introduced here when we converted this to request_firmware() back in 2008.
---
Spotted in code reading. Untested.
drivers/atm/ambassador.c +1 -0
@@ -1961,6 +1961,7 @@ static int __devinit ucode_init (loader_block * lb, amb_dev * dev) { res =loader_verify (lb, dev, rec);if (res)break ; + rec =ihex_next_binrec (rec); }release_firmware (fw);if (!res)
Quoted 4 lines · On Tue, 27 Nov 2012 20:29:35 +0300 Dan Carpenter <[email protected]>…
There was a forever loop introduced here when we converted this to
request_firmware()back in 2008.Signed-off-by Dan Carpenter <[email protected]>
This certainly does seem to be the case.
Quoted 20 lines
---
Spotted in code reading. Untested.drivers/atm/ambassador.c +1
-1@@ -1961,6 +1961,7 @@ static int __devinit ucode_init (loader_block * lb, amb_dev * dev) { res =loader_verify (lb, dev, rec);if (res)break ; + rec =ihex_next_binrec (rec); }release_firmware (fw);if (!res) --To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: chas williams - CONTRACTOR <[email protected]>
Date: Wed, 28 Nov 2012 10:40:44 -0500
Quoted 11 lines
Quoted 4 lines · On Tue, 27 Nov 2012 20:29:35 +0300 Dan Carpenter <[email protected]>…
There was a forever loop introduced here when we converted this to
request_firmware()back in 2008.Signed-off-by Dan Carpenter <[email protected]>This certainly does seem to be the case.
Acked-by Chas Williams <[email protected]>
Applied, thanks everyone.