]> git.karo-electronics.de Git - linux-beck.git/commit
i40e: Fix mismatching type for ioremap_len
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Mar 2015 03:02:35 +0000 (19:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 03:11:38 +0000 (22:11 -0500)
commite815665e1a8ca1525900377f74021c8cac390e8d
tree0357905529e25e02ff5ceaaf9d59d0e7458c79f5
parentd0f91938bede204a343473792529e0db7d599836
i40e: Fix mismatching type for ioremap_len

As pointed out by Ben Hutchings, ioremap uses unsigned long as
its parameter type, so we should be using that instead of u32
or int.

Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_main.c