Return-path: Received: from mail-ob0-f170.google.com ([209.85.214.170]:45605 "EHLO mail-ob0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752490Ab3IFPNQ (ORCPT ); Fri, 6 Sep 2013 11:13:16 -0400 Message-ID: <5229F10A.7000503@lwfinger.net> (sfid-20130906_171333_703555_416A96D0) Date: Fri, 06 Sep 2013 10:13:14 -0500 From: Larry Finger MIME-Version: 1.0 To: Geert Uytterhoeven CC: LKML , linux-wireless Subject: Build warnings in b43 and b43legacy Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: Geert, In http://lkml.indiana.edu/hypermail/linux/kernel/1309.0/00918.html and earlier postings of the build regressions in 3.11-rcX, I notice the following entries: + /scratch/kisskb/src/drivers/net/wireless/b43/b43.h: warning: 'packed' attribute ignored for field of type 'union ' [-Wattributes]: => 641:2 + /scratch/kisskb/src/drivers/net/wireless/b43/xmit.h: warning: 'packed' attribute ignored for field of type 'struct ' [-Wattributes]: => 64:3, 88:3, 290:3, 283:3, 77:3 + /scratch/kisskb/src/drivers/net/wireless/b43legacy/b43legacy.h: warning: 'packed' attribute ignored for field of type 'union ' [-Wattributes]: => 381:2 From the indicated source lines, and some research on the topic of packed attributes of anonymous entities, I think I know what it would take to fix these; however, I am reluctant to touch this code. Firstly, my compiler does not show the warning, and secondly, blindly reworking those critical structures could cause severe regressions. What compiler version and options does it take to get these warnings to appear? Thanks, Larry