From: Jiri Slaby Thanks to Ingo. Signed-off-by: Jiri Slaby Cc: "Ingo Korb" Signed-off-by: Andrew Morton --- drivers/char/stallion.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/char/stallion.c~char-stallion-dont-fail-with-less-than-max-panels drivers/char/stallion.c --- a/drivers/char/stallion.c~char-stallion-dont-fail-with-less-than-max-panels +++ a/drivers/char/stallion.c @@ -2172,7 +2172,7 @@ static int __devinit stl_initech(struct } status = inb(ioaddr + ECH_PNLSTATUS); if ((status & ECH_PNLIDMASK) != nxtid) - goto err_fr; + break; panelp = kzalloc(sizeof(struct stlpanel), GFP_KERNEL); if (!panelp) { printk("STALLION: failed to allocate memory " _