From e345d5ef6d476cc236f64d90d9528143a70745c8 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Thu, 25 Aug 2005 06:24:21 +0100 Subject: [PATCH] lvalues abuse in lance result of comma operator is not an lvalue Signed-off-by: Al Viro Signed-off-by: Jeff Garzik --- drivers/net/atarilance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/net/atarilance.c') diff --git a/drivers/net/atarilance.c b/drivers/net/atarilance.c index ad011214c7f..e01b6a78ec6 100644 --- a/drivers/net/atarilance.c +++ b/drivers/net/atarilance.c @@ -235,7 +235,7 @@ struct lance_private { #define MEM lp->mem #define DREG IO->data #define AREG IO->addr -#define REGA(a) ( AREG = (a), DREG ) +#define REGA(a) (*( AREG = (a), &DREG )) /* Definitions for packet buffer access: */ #define PKT_BUF_SZ 1544 -- cgit v1.2.2