[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100108.005528.263100819.davem@davemloft.net>
Date: Fri, 08 Jan 2010 00:55:28 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: "kirjanov@...il.com"@sunset.davemloft.net.davemloft.net,
kirjanov@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] vxge: use pci_dma_mapping_error to test return value
From: "Denis Kirjanov <kirjanov@...il.com" <kirjanov@...il.com>
Date: Wed, 6 Jan 2010 00:16:59 +0300
> @@ -821,7 +821,7 @@ vxge_xmit(struct sk_buff *skb, struct net_device *dev)
> int frg_cnt, first_frg_len;
> skb_frag_t *frag;
> int i = 0, j = 0, avail;
> - u64 dma_pointer;
> + dma_addr_t dma_pointer;
> struct vxge_tx_priv *txdl_priv = NULL;
> struct __vxge_hw_fifo *fifo_hw;
> int offload_type;
This will cause build warnings on platforms withe dma_addr_t
is some type other than "unsigned long long", such as on
sparc64 where it is a u32.
This is because of the %ll printf format used to display it
a few lines down from here.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists