]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: Convert LIST_CONTAINOR to use kernel container_of
authorJoe Perches <joe@perches.com>
Sat, 9 Sep 2017 20:14:51 +0000 (13:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Sep 2017 14:35:26 +0000 (16:35 +0200)
commitdb44fce6ef0c9794fa76da8f31cbbc040480c5c1
tree2b308eb58f749b74b6347a339a7d882641bd168e
parentaff5e1c9571435f71811ae1c247750e17166e214
staging: rtl8723bs: Convert LIST_CONTAINOR to use kernel container_of

These are similar macros so use the normal kernel one.

As well, there are odd games being played with casting a plist to
a union recv_frame by using LIST_CONTAINOR.  Just use a direct cast
to union recv_frame instead.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_recv.c
drivers/staging/rtl8723bs/core/rtw_sta_mgt.c
drivers/staging/rtl8723bs/include/osdep_service_linux.h