Messages in this thread Patch in this message | | | Date | Wed, 06 Oct 2004 18:25:20 +0900 (JST) | Subject | [PATCH 2.6.9-rc3-mm2] Fix to compile smc91x network driver | From | Hirokazu Takata <> |
| |
Hi,
Here is a patch to fix a compile error of smc91x network deriver. Please apply.
It was a typo or something like that. ;-)
Thanks.
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> ---
drivers/net/smc91x.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
diff -ruNp a/drivers/net/smc91x.c b/drivers/net/smc91x.c --- a/drivers/net/smc91x.c 2004-10-05 12:39:24.000000000 +0900 +++ b/drivers/net/smc91x.c 2004-10-05 21:05:44.000000000 +0900 @@ -568,7 +568,7 @@ done: int __ret; \ local_irq_disable(); \ __ret = spin_trylock(lock); \ - if ((!__ret) \ + if (!__ret) \ local_irq_enable(); \ __ret; \ }) -- Hirokazu Takata <takata@linux-m32r.org> Linux/M32R Project: http://www.linux-m32r.org/ - 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/
| |