svn commit: r310937 - stable/11/sys/dev/sfxge/common
Andrew Rybchenko
arybchik at FreeBSD.org
Sat Dec 31 11:18:23 UTC 2016
Author: arybchik
Date: Sat Dec 31 11:18:22 2016
New Revision: 310937
URL: https://svnweb.freebsd.org/changeset/base/310937
Log:
MFC r310708
sfxge(4): do not initialize enumerated type variable to another type
Fix build warning generated by ICC.
Sponsored by: Solarflare Communications, Inc.
Modified:
stable/11/sys/dev/sfxge/common/efx_nic.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/sfxge/common/efx_nic.c
==============================================================================
--- stable/11/sys/dev/sfxge/common/efx_nic.c Sat Dec 31 11:17:43 2016 (r310936)
+++ stable/11/sys/dev/sfxge/common/efx_nic.c Sat Dec 31 11:18:22 2016 (r310937)
@@ -556,7 +556,7 @@ efx_nic_destroy(
EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
EFSYS_ASSERT3U(enp->en_mod_flags, ==, 0);
- enp->en_family = 0;
+ enp->en_family = EFX_FAMILY_INVALID;
enp->en_esip = NULL;
enp->en_esbp = NULL;
enp->en_eslp = NULL;
More information about the svn-src-stable
mailing list