svn commit: r239523 - stable/9/sys/dev/cxgbe/firmware

Dimitry Andric dim at FreeBSD.org
Tue Aug 21 19:21:47 UTC 2012


Author: dim
Date: Tue Aug 21 19:21:46 2012
New Revision: 239523
URL: http://svn.freebsd.org/changeset/base/239523

Log:
  MFC r239102:
  
  In sys/dev/cxgbe/firmware/t4fw_interface.h, change the enum
  'fw_hdr_intfver' into an anonymous enum, which avoids a clang 3.2
  warning about all the enum values being the same value.
  
  Reviewed by:	np

Modified:
  stable/9/sys/dev/cxgbe/firmware/t4fw_interface.h
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/dev/cxgbe/firmware/t4fw_interface.h
==============================================================================
--- stable/9/sys/dev/cxgbe/firmware/t4fw_interface.h	Tue Aug 21 19:19:29 2012	(r239522)
+++ stable/9/sys/dev/cxgbe/firmware/t4fw_interface.h	Tue Aug 21 19:21:46 2012	(r239523)
@@ -7413,7 +7413,7 @@ enum fw_hdr_chip {
 #define G_FW_HDR_FW_VER_BUILD(x) \
     (((x) >> S_FW_HDR_FW_VER_BUILD) & M_FW_HDR_FW_VER_BUILD)
 
-enum fw_hdr_intfver {
+enum {
 	FW_HDR_INTFVER_NIC	= 0x00,
 	FW_HDR_INTFVER_VNIC	= 0x00,
 	FW_HDR_INTFVER_OFLD	= 0x00,


More information about the svn-src-all mailing list