i40e: use %pI4b instead of byte swapping before dev_err
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 20 Apr 2018 08:41:40 +0000 (01:41 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 30 Apr 2018 16:34:19 +0000 (09:34 -0700)
commitbf1099b5ea853bddaa0dc4b1c594a2fdbebaf4c9
treee597df63455d8051f550910a5389ac076b586468
parentd0fda04d7e31e52f19ad7a21fb8d6700db55a6e9
i40e: use %pI4b instead of byte swapping before dev_err

Fix warnings regarding restricted __be32 type usage by strictly
specifying the type of the ipv4 address being printed in the dev_err
statement.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c