svn commit: r295787 - head/sys/dev/ixl
Kevin Lo
kevlo at FreeBSD.org
Fri Feb 19 01:57:01 UTC 2016
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;
More information about the svn-src-all
mailing list