Commit:     64834b226b237e654ab164d3af88ceaa65f10362
Parent:     193faea9280a809cc30e81d7e503e01b1d7b7042
Author:     Jiri Slaby <[EMAIL PROTECTED]>
AuthorDate: Fri Jun 8 13:46:52 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Jun 8 17:23:33 2007 -0700

    Char: stallion, don't fail with less than max panels
    Since it's not neccesary to have MAX_PANELS on the card, don't fail to let
    users use this card even in this case.  Stop the testing for loop instead.
    Thanks to Ingo.
    Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]>
    Cc: "Ingo Korb" <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/char/stallion.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c
index e45113a..265abad 100644
--- a/drivers/char/stallion.c
+++ b/drivers/char/stallion.c
@@ -2172,7 +2172,7 @@ static int __devinit stl_initech(struct stlbrd *brdp)
                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 "
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to