Bah.
--- linux-2.5.66-mm2/drivers/base/node.c 2003-04-01 06:40:02.000000000 -0800
+++ 2.5.66-mm2/drivers/base/node.c 2003-04-01 06:37:32.000000000 -0800
@@ -93,7 +93,7 @@ int __init register_node_type(void)
{
int error;
if (!(error = devclass_register(&node_devclass)))
- if (error = driver_register(&node_driver))
+ if ((error = driver_register(&node_driver)))
devclass_unregister(&node_devclass);
return error;
}
--- linux-2.5.66-mm2/drivers/base/memblk.c 2003-04-01 06:40:02.000000000 -0800
+++ 2.5.66-mm2/drivers/base/memblk.c 2003-04-01 06:38:14.000000000 -0800
@@ -51,7 +51,7 @@ int __init register_memblk_type(void)
{
int error;
if (!(error = devclass_register(&memblk_devclass)))
- if (error = driver_register(&memblk_driver))
+ if ((error = driver_register(&memblk_driver)))
devclass_unregister(&memblk_devclass);
return error;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/