Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2016 14:04:08 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r293917 - stable/10/sys/dev/sfxge/common
Message-ID:  <201601141404.u0EE48iL015664@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601141404.u0EE48iL015664>