ice: remove unnecessary &array[0] and just use array
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 22 Feb 2023 17:09:16 +0000 (09:09 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 13 Mar 2023 18:06:06 +0000 (11:06 -0700)
commit3f22fc3131b814f0d5d1ce6d94fb8239e6df1754
tree79bc2d6c80b4a81217d27a20b7ffa50bbd2f9e71
parent4f0636fef61ad0b22fed4fb06f369d6ba38f807d
ice: remove unnecessary &array[0] and just use array

In ice_is_malicious_vf we print the VF MAC address using %pM by passing the
address of the first element of vf->dev_lan_addr. This is equivalent to
just passing vf->dev_lan_addr, so do that.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Marek Szlosek <marek.szlosek@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_sriov.c