Build warnings in b43 and b43legacy
From: Larry Finger
Date: Fri Sep 06 2013 - 11:13:21 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/