Author: arybchik
Date: Thu Jan 14 14:04:08 2016
New Revision: 293917
URL: https://svnweb.freebsd.org/changeset/base/293917

Log:
  MFC r291391
  
  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.

Modified:
  stable/10/sys/dev/sfxge/common/siena_flash.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sfxge/common/siena_flash.h
==============================================================================
--- stable/10/sys/dev/sfxge/common/siena_flash.h        Thu Jan 14 14:03:05 
2016        (r293916)
+++ stable/10/sys/dev/sfxge/common/siena_flash.h        Thu Jan 14 14:04:08 
2016        (r293917)
@@ -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()
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to