diff options
Diffstat (limited to 'drivers/s390/net/claw.c')
-rw-r--r-- | drivers/s390/net/claw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c index 6b63d21612ec..e70af7f39946 100644 --- a/drivers/s390/net/claw.c +++ b/drivers/s390/net/claw.c | |||
@@ -1603,7 +1603,7 @@ dumpit(char* buf, int len) | |||
1603 | __u32 ct, sw, rm, dup; | 1603 | __u32 ct, sw, rm, dup; |
1604 | char *ptr, *rptr; | 1604 | char *ptr, *rptr; |
1605 | char tbuf[82], tdup[82]; | 1605 | char tbuf[82], tdup[82]; |
1606 | #if (CONFIG_ARCH_S390X) | 1606 | #if (CONFIG_64BIT) |
1607 | char addr[22]; | 1607 | char addr[22]; |
1608 | #else | 1608 | #else |
1609 | char addr[12]; | 1609 | char addr[12]; |
@@ -1619,7 +1619,7 @@ dumpit(char* buf, int len) | |||
1619 | dup = 0; | 1619 | dup = 0; |
1620 | for ( ct=0; ct < len; ct++, ptr++, rptr++ ) { | 1620 | for ( ct=0; ct < len; ct++, ptr++, rptr++ ) { |
1621 | if (sw == 0) { | 1621 | if (sw == 0) { |
1622 | #if (CONFIG_ARCH_S390X) | 1622 | #if (CONFIG_64BIT) |
1623 | sprintf(addr, "%16.16lX",(unsigned long)rptr); | 1623 | sprintf(addr, "%16.16lX",(unsigned long)rptr); |
1624 | #else | 1624 | #else |
1625 | sprintf(addr, "%8.8X",(__u32)rptr); | 1625 | sprintf(addr, "%8.8X",(__u32)rptr); |
@@ -1634,7 +1634,7 @@ dumpit(char* buf, int len) | |||
1634 | if (sw == 8) { | 1634 | if (sw == 8) { |
1635 | strcat(bhex, " "); | 1635 | strcat(bhex, " "); |
1636 | } | 1636 | } |
1637 | #if (CONFIG_ARCH_S390X) | 1637 | #if (CONFIG_64BIT) |
1638 | sprintf(tbuf,"%2.2lX", (unsigned long)*ptr); | 1638 | sprintf(tbuf,"%2.2lX", (unsigned long)*ptr); |
1639 | #else | 1639 | #else |
1640 | sprintf(tbuf,"%2.2X", (__u32)*ptr); | 1640 | sprintf(tbuf,"%2.2X", (__u32)*ptr); |