svn commit: r293917 - stable/10/sys/dev/sfxge/common

Andrew Rybchenko arybchik at FreeBSD.org
Thu Jan 14 14:04:10 UTC 2016


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()


More information about the svn-src-all mailing list