diff options
author | Al Viro <viro@www.linux.org.uk> | 2005-08-25 01:24:21 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-06 22:47:00 -0400 |
commit | e345d5ef6d476cc236f64d90d9528143a70745c8 (patch) | |
tree | a0ac5df1abe0d0a0d361a4160e796a387a7e6d23 /drivers/net/atarilance.c | |
parent | ce6623c3d8f932a15306355a7c9a0cdfdd6a26ec (diff) |
[PATCH] lvalues abuse in lance
result of comma operator is not an lvalue
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/atarilance.c')
-rw-r--r-- | drivers/net/atarilance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atarilance.c b/drivers/net/atarilance.c index ad011214c7f2..e01b6a78ec63 100644 --- a/drivers/net/atarilance.c +++ b/drivers/net/atarilance.c | |||
@@ -235,7 +235,7 @@ struct lance_private { | |||
235 | #define MEM lp->mem | 235 | #define MEM lp->mem |
236 | #define DREG IO->data | 236 | #define DREG IO->data |
237 | #define AREG IO->addr | 237 | #define AREG IO->addr |
238 | #define REGA(a) ( AREG = (a), DREG ) | 238 | #define REGA(a) (*( AREG = (a), &DREG )) |
239 | 239 | ||
240 | /* Definitions for packet buffer access: */ | 240 | /* Definitions for packet buffer access: */ |
241 | #define PKT_BUF_SZ 1544 | 241 | #define PKT_BUF_SZ 1544 |