* [chrome-os:chromeos-4.19 1/14] drivers/net/wireless/iwl7000/mac80211/rx.c:254:2: warning: alignment 1 of 'struct <anonymous>' is less than 2
@ 2020-05-27 8:12 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-27 8:12 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2796 bytes --]
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head: 5599f416ce66f49db8215fac09f38573f43697f4
commit: 596740398c2376f7aa1c18ebc969ba2e06307200 [1/14] Revert "CHROMIUM: iwl7000: Merge core50-70 driver updates"
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 596740398c2376f7aa1c18ebc969ba2e06307200
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
drivers/net/wireless/iwl7000/mac80211/rx.c: In function 'ieee80211_handle_mu_mimo_mon':
>> drivers/net/wireless/iwl7000/mac80211/rx.c:254:2: warning: alignment 1 of 'struct <anonymous>' is less than 2 [-Wpacked-not-aligned]
254 | } __packed action;
| ^
drivers/net/wireless/iwl7000/mac80211/rx.c: At top level:
cc1: warning: unrecognized command line option '-Wno-enum-conversion'
vim +254 drivers/net/wireless/iwl7000/mac80211/rx.c
245
246 static void ieee80211_handle_mu_mimo_mon(struct ieee80211_sub_if_data *sdata,
247 struct sk_buff *skb,
248 int rtap_space)
249 {
250 struct {
251 struct ieee80211_hdr_3addr hdr;
252 u8 category;
253 u8 action_code;
> 254 } __packed action;
255
256 if (!sdata)
257 return;
258
259 BUILD_BUG_ON(sizeof(action) != IEEE80211_MIN_ACTION_SIZE + 1);
260
261 if (skb->len < rtap_space + sizeof(action) +
262 VHT_MUMIMO_GROUPS_DATA_LEN)
263 return;
264
265 if (!is_valid_ether_addr(sdata->u.mntr.mu_follow_addr))
266 return;
267
268 skb_copy_bits(skb, rtap_space, &action, sizeof(action));
269
270 if (!ieee80211_is_action(action.hdr.frame_control))
271 return;
272
273 if (action.category != WLAN_CATEGORY_VHT)
274 return;
275
276 if (action.action_code != WLAN_VHT_ACTION_GROUPID_MGMT)
277 return;
278
279 if (!ether_addr_equal(action.hdr.addr1, sdata->u.mntr.mu_follow_addr))
280 return;
281
282 skb = skb_copy(skb, GFP_ATOMIC);
283 if (!skb)
284 return;
285
286 skb_queue_tail(&sdata->skb_queue, skb);
287 ieee80211_queue_work(&sdata->local->hw, &sdata->work);
288 }
289
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 63166 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-27 8:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 8:12 [chrome-os:chromeos-4.19 1/14] drivers/net/wireless/iwl7000/mac80211/rx.c:254:2: warning: alignment 1 of 'struct <anonymous>' is less than 2 kbuild test robot
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.