summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2023-02-22 09:09:16 -0800
committerTony Nguyen <anthony.l.nguyen@intel.com>2023-03-13 11:06:06 -0700
commit3f22fc3131b814f0d5d1ce6d94fb8239e6df1754 (patch)
tree79bc2d6c80b4a81217d27a20b7ffa50bbd2f9e71 /net/unix/af_unix.c
parent4f0636fef61ad0b22fed4fb06f369d6ba38f807d (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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions