commit | 3f22fc3131b814f0d5d1ce6d94fb8239e6df1754 | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Wed Feb 22 09:09:16 2023 -0800 |
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | Mon Mar 13 11:06:06 2023 -0700 |
tree | 79bc2d6c80b4a81217d27a20b7ffa50bbd2f9e71 | |
parent | 4f0636fef61ad0b22fed4fb06f369d6ba38f807d [diff] |
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>