diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-10-31 03:56:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-31 03:56:00 -0400 |
commit | 63779436ab4ad0867bcea53bf853b0004d7b895d (patch) | |
tree | bd4e49449eb852a54f62cc8bb1c807e26746dd43 /drivers/infiniband/hw/nes/nes_utils.c | |
parent | 21454aaad30651ba0dcc16fe5271bc12ee21f132 (diff) |
drivers: replace NIPQUAD()
Using NIPQUAD() with NIPQUAD_FMT, %d.%d.%d.%d or %u.%u.%u.%u
can be replaced with %pI4
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_utils.c')
-rw-r--r-- | drivers/infiniband/hw/nes/nes_utils.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/nes/nes_utils.c b/drivers/infiniband/hw/nes/nes_utils.c index fb8cbd71a2ef..9f16f7a89efc 100644 --- a/drivers/infiniband/hw/nes/nes_utils.c +++ b/drivers/infiniband/hw/nes/nes_utils.c | |||
@@ -679,9 +679,8 @@ int nes_arp_table(struct nes_device *nesdev, u32 ip_addr, u8 *mac_addr, u32 acti | |||
679 | 679 | ||
680 | /* DELETE or RESOLVE */ | 680 | /* DELETE or RESOLVE */ |
681 | if (arp_index == nesadapter->arp_table_size) { | 681 | if (arp_index == nesadapter->arp_table_size) { |
682 | nes_debug(NES_DBG_NETDEV, "MAC for " NIPQUAD_FMT " not in ARP table - cannot %s\n", | 682 | nes_debug(NES_DBG_NETDEV, "MAC for %pI4 not in ARP table - cannot %s\n", |
683 | HIPQUAD(ip_addr), | 683 | &ip_addr, action == NES_ARP_RESOLVE ? "resolve" : "delete"); |
684 | action == NES_ARP_RESOLVE ? "resolve" : "delete"); | ||
685 | return -1; | 684 | return -1; |
686 | } | 685 | } |
687 | 686 | ||