[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130419.175810.1381475568379872070.davem@davemloft.net>
Date: Fri, 19 Apr 2013 17:58:10 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: netdev@...r.kernel.org, ben@...ff.org
Subject: Re: [PATCH v2] net: ax88796: avoid 64 bit arithmetic
From: Arnd Bergmann <arnd@...db.de>
Date: Fri, 19 Apr 2013 20:47:26 +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.
>
> Cc: Ben Dooks <ben-linux@...ff.org>
> Cc: netdev@...r.kernel.org
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied.
--
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