Author: arybchik
Date: Fri Nov 27 15:54:36 2015
New Revision: 291391
URL: https://svnweb.freebsd.org/changeset/base/291391

Log:
  sfxge: do not use unnamed union in siena_mc_combo_rom_hdr_t
  
  GCC 4.2.1 used on FreeBSD 8 and 9 branches does not like unnamed
  union member in the structure. It is not strictly required in head,
  but nice to have to minimize difference with out-of-tree driver.
  
  Sponsored by:   Solarflare Communications, Inc.
  MFC after:      2 days

Modified:
  head/sys/dev/sfxge/common/siena_flash.h

Modified: head/sys/dev/sfxge/common/siena_flash.h
==============================================================================
--- head/sys/dev/sfxge/common/siena_flash.h     Fri Nov 27 15:50:17 2015        
(r291390)
+++ head/sys/dev/sfxge/common/siena_flash.h     Fri Nov 27 15:54:36 2015        
(r291391)
@@ -193,7 +193,7 @@ typedef struct siena_mc_combo_rom_hdr_s 
                        efx_byte_t      infoblk_len;/* length of space reserved 
for one infoblk structure */
                        efx_byte_t      reserved[7];/* (set to 0) */
                } v2;
-  };
+       } data;
 } siena_mc_combo_rom_hdr_t;
 
 #pragma pack()
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to