[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120919.154555.871732031435066325.davem@davemloft.net>
Date: Wed, 19 Sep 2012 15:45:55 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: mika.westerberg@...ux.intel.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] i825xx: znet: fix compiler warnings when building a
64-bit kernel
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
Date: Fri, 14 Sep 2012 13:33:48 +0300
> When building 64-bit kernel with this driver we get following warnings from
> the compiler:
>
> drivers/net/ethernet/i825xx/znet.c: In function ‘hardware_init’:
> drivers/net/ethernet/i825xx/znet.c:863:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> drivers/net/ethernet/i825xx/znet.c:870:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>
> Fix these by calling isa_virt_to_bus() before passing the pointers to
> set_dma_addr().
>
> Signed-off-by: Mika Westerberg <mika.westerberg@...ux.intel.com>
Yeah I've been seeing this too.
Applied to net-next, thanks Mika.
Powered by blists - more mailing lists