diff options
author | kevlo <kevlo@FreeBSD.org> | 2016-02-19 01:56:59 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2016-02-19 01:56:59 +0000 |
commit | 2c479e839037f97398e0f9b8aaf580ac8ee1cd89 (patch) | |
tree | 7565ea6cb2a692be5140a479bacda220a212239b | |
parent | 32d1c3375ad5121d32b8401feaeee13981089450 (diff) | |
download | FreeBSD-src-2c479e839037f97398e0f9b8aaf580ac8ee1cd89.zip FreeBSD-src-2c479e839037f97398e0f9b8aaf580ac8ee1cd89.tar.gz |
Add missing parentheses.
Found by: PVS-Studio
-rw-r--r-- | sys/dev/ixl/if_ixl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixl/if_ixl.c b/sys/dev/ixl/if_ixl.c index d5ab42f..c3c69d6 100644 --- a/sys/dev/ixl/if_ixl.c +++ b/sys/dev/ixl/if_ixl.c @@ -6311,7 +6311,7 @@ ixl_vf_config_promisc_msg(struct ixl_pf *pf, struct ixl_vf *vf, 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; |