Re: [PATCH v4 1/3] staging: rtl8723au: use list_for_each_entry*()

From: kbuild test robot
Date: Wed Feb 17 2016 - 10:14:57 EST


Hi Geliang,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.5-rc4 next-20160217]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Geliang-Tang/staging-rtl8723au-use-list_for_each_entry/20160217-220638
config: i386-randconfig-s1-201607 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

Note: the linux-review/Geliang-Tang/staging-rtl8723au-use-list_for_each_entry/20160217-220638 HEAD 495811a52aba181af76c3baf57da3d81a79c2fe8 builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/staging/rtl8723au/core/rtw_recv.c: In function 'rtw_free_recvframe23a_queue':
>> drivers/staging/rtl8723au/core/rtw_recv.c:203:2: error: 'plist' undeclared (first use in this function)
plist = phead->next;
^
drivers/staging/rtl8723au/core/rtw_recv.c:203:2: note: each undeclared identifier is reported only once for each function it appears in

vim +/plist +203 drivers/staging/rtl8723au/core/rtw_recv.c

3437e0c7 Geliang Tang 2016-02-17 197 struct recv_frame *hdr, *ptmp;
3437e0c7 Geliang Tang 2016-02-17 198 struct list_head *phead;
5e93f352 Larry Finger 2014-03-28 199
5e93f352 Larry Finger 2014-03-28 200 spin_lock(&pframequeue->lock);
5e93f352 Larry Finger 2014-03-28 201
5e93f352 Larry Finger 2014-03-28 202 phead = get_list_head(pframequeue);
5e93f352 Larry Finger 2014-03-28 @203 plist = phead->next;
5e93f352 Larry Finger 2014-03-28 204
3437e0c7 Geliang Tang 2016-02-17 205 list_for_each_entry_safe(hdr, ptmp, phead, list)
c5779a0d Jes Sorensen 2014-05-09 206 rtw_free_recvframe23a(hdr);

:::::: The code at line 203 was first introduced by commit
:::::: 5e93f35209578fcabfa855e427354195e54b491f staging: r8723au: Add source files for new driver - part 1

:::::: TO: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data