All of lore.kernel.org
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Build warnings in b43 and b43legacy
Date: Fri, 06 Sep 2013 10:13:14 -0500	[thread overview]
Message-ID: <5229F10A.7000503@lwfinger.net> (raw)

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 <anonymous>' [-Wattributes]: => 641:2
+ /scratch/kisskb/src/drivers/net/wireless/b43/xmit.h: warning: 'packed' 
attribute ignored for field of type 'struct <anonymous>' [-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 <anonymous>' [-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

             reply	other threads:[~2013-09-06 15:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-06 15:13 Larry Finger [this message]
2013-09-06 15:19 ` Build warnings in b43 and b43legacy Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5229F10A.7000503@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.