[PATCH 1/1] drivers: net: silence compiler warning in smc91x.c
David Miller
davem at davemloft.net
Mon Jan 13 14:54:59 EST 2014
From: Sergei Shtylyov <sergei.shtylyov at cogentembedded.com>
Date: Fri, 10 Jan 2014 23:42:41 +0300
> Hello.
>
> On 01/10/2014 06:04 AM, Pankaj Dubey wrote:
>
>> If used 64 bit compiler GCC warns that:
>
>> drivers/net/ethernet/smsc/smc91x.c:1897:7:
>> warning: cast from pointer to integer of different
>> size [-Wpointer-to-int-cast]
>
>> This patch fixes this by changing typecase from "unsigned int" to
>> "unsigned long"
>
> Only "typecast".
Applied with this typo fixed, thanks.
More information about the linux-arm-kernel
mailing list