diff options
author | Joachim Eastwood <manabian@gmail.com> | 2012-10-22 10:45:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-23 08:40:09 +0200 |
commit | 95ebcea69c888fc644e2a64586c74e2299ca47ca (patch) | |
tree | 9c4fcff20cb916ba74d84ae27ebcc0835c591a51 /arch/avr32 | |
parent | ipv6: add support of equal cost multipath (ECMP) (diff) | |
download | linux-95ebcea69c888fc644e2a64586c74e2299ca47ca.tar.xz linux-95ebcea69c888fc644e2a64586c74e2299ca47ca.zip |
net/macb: fix truncate warnings
When building macb on x86_64 the following warnings show up:
drivers/net/ethernet/cadence/macb.c: In function macb_interrupt:
drivers/net/ethernet/cadence/macb.c:556:4: warning: large integer implicitly truncated to unsigned type [-Woverflow]
drivers/net/ethernet/cadence/macb.c: In function macb_reset_hw:
drivers/net/ethernet/cadence/macb.c:792:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
drivers/net/ethernet/cadence/macb.c:793:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
drivers/net/ethernet/cadence/macb.c:796:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Use -1 insted of ~0UL, as done in other places in the driver,
to silence these warnings.
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions