[PATCH] pmac_zilog: fix patch drain bramage

From: David Eger
Date: Sat Jul 17 2004 - 08:08:23 EST


How embarrassing.
One of the "if (!rc)"'s in that patch should be an "if (rc)".

-dte

Signed-off-by: David Eger <eger@xxxxxxxxxxxxx>

diff -Nru a/drivers/serial/pmac_zilog.c b/drivers/serial/pmac_zilog.c
--- a/drivers/serial/pmac_zilog.c 2004-07-17 09:04:47 -04:00
+++ b/drivers/serial/pmac_zilog.c 2004-07-17 09:04:47 -04:00
@@ -1801,7 +1801,7 @@
* Register this driver with the serial core
*/
rc = uart_register_driver(&pmz_uart_reg);
- if (rc != 0)
+ if (rc)
return rc;

/*
@@ -1812,7 +1812,7 @@
/* NULL node may happen on wallstreet */
if (uport->node != NULL)
rc = uart_add_one_port(&pmz_uart_reg, &uport->port);
- if (!rc)
+ if (rc)
goto err_out;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/