From: Eyal Perry Date: Sun, 2 Mar 2014 08:25:03 +0000 (+0200) Subject: net/mlx4_core: Fix sparse warning X-Git-Tag: v3.15-rc1~113^2~233^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28d222bbaa5122fb4bb0e607e39ab149a010e587;p=pandora-kernel.git net/mlx4_core: Fix sparse warning This patch force conversion to u32 to fix the following sparse warning: drivers/net/ethernet/mellanox/mlx4/fw.c:1822:53: warning: restricted __be32 degrades to integer Casting to u32 is safe here, because token will be returned as is from the hardware without any modification. Signed-off-by: Eyal Perry Signed-off-by: Amir Vadai Signed-off-by: David S. Miller --- Reading git-diff-tree failed