The return type of find_first_bit() is architecture specific,
on ARM it is 'unsigned int', while the asm-generic code used
on x86 and a lot of other architectures returns 'unsigned long'.
When building the mlx5 driver on ARM, we get a warning about
this:
infiniband/hw/mlx5/mem.c: In function
Acked-by: Eli Cohen e...@mellanox.com
On Tue, Jan 13, 2015 at 05:09:43PM +0100, Arnd Bergmann wrote:
The return type of find_first_bit() is architecture specific,
on ARM it is 'unsigned int', while the asm-generic code used
on x86 and a lot of other architectures returns 'unsigned long'.
From: Arnd Bergmann a...@arndb.de
Date: Tue, 13 Jan 2015 17:09:43 +0100
The return type of find_first_bit() is architecture specific,
on ARM it is 'unsigned int', while the asm-generic code used
on x86 and a lot of other architectures returns 'unsigned long'.
When building the mlx5 driver