Subject: Re: [PATCH] net: ax88796: avoid 64 bit arithmetic

From: Arnd Bergmann <[email-masked]>
Date: Fri, 19 Apr 2013 20:46:09 +0200

On Friday 19 April 2013, David Miller wrote:
> From: Arnd Bergmann <[email-masked]>
> Date: Fri, 19 Apr 2013 15:06:21 +0200
> 
> > When building ax88796 on an ARM platform with 64-bit resource_size_t,
> > we currently get
> > 
> > drivers/net/ethernet/8390/ax88796.c:875: undefined reference to `__aeabi_uldivmod'
> > 
> > because we do a division on the length of the MMIO resource.
> > Since we know that this resource is very short, using an
> > "unsigned long" instead of "resource_size_t" is entirely
> > sufficient, and avoids this link-time error.
> 
> Please provide a proper signoff with your patches, thanks.

Sorry about this, I have no idea how this slipped through. I'll
send a new version right away.

	Arnd