Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2016 01:56:59 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295787 - head/sys/dev/ixl
Message-ID:  <201602190156.u1J1ux6e095629@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Fri Feb 19 01:56:59 2016
New Revision: 295787
URL: https://svnweb.freebsd.org/changeset/base/295787

Log:
  Add missing parentheses.
  
  Found by:	PVS-Studio

Modified:
  head/sys/dev/ixl/if_ixl.c

Modified: head/sys/dev/ixl/if_ixl.c
==============================================================================
--- head/sys/dev/ixl/if_ixl.c	Fri Feb 19 01:49:33 2016	(r295786)
+++ head/sys/dev/ixl/if_ixl.c	Fri Feb 19 01:56:59 2016	(r295787)
@@ -6311,7 +6311,7 @@ ixl_vf_config_promisc_msg(struct ixl_pf 
 		return;
 	}
 
-	if (!vf->vf_flags & VF_FLAG_PROMISC_CAP) {
+	if (!(vf->vf_flags & VF_FLAG_PROMISC_CAP)) {
 		i40e_send_vf_nack(pf, vf,
 		    I40E_VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE, I40E_ERR_PARAM);
 		return;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602190156.u1J1ux6e095629>