diff options
author | Larry Finger | 2014-02-09 22:15:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-02-11 21:41:14 +0100 |
commit | bea8810043b9a66c46b8c76bfbb5c8572530788d (patch) | |
tree | be1c144bb281fdfd740a208302ff561ae2f03178 /drivers/staging/rtl8188eu/core/rtw_debug.c | |
parent | staging: r8188eu: Remove some dead code from headers (diff) | |
download | kernel-qcow2-linux-bea8810043b9a66c46b8c76bfbb5c8572530788d.tar.gz kernel-qcow2-linux-bea8810043b9a66c46b8c76bfbb5c8572530788d.tar.xz kernel-qcow2-linux-bea8810043b9a66c46b8c76bfbb5c8572530788d.zip |
staging: r8188eu: Replace misspelled local container macro
This driver has its own implementation of a "container_of" macro. It
is replaced with the standard container_of version. Most of these
are a straight one-to-one replacement; however, a few of the instances
referred to the member of a union. Those were replaced with the
struct that is part of that union.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/core/rtw_debug.c')
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_debug.c b/drivers/staging/rtl8188eu/core/rtw_debug.c index af32041a1e97..76e7b7b582f0 100644 --- a/drivers/staging/rtl8188eu/core/rtw_debug.c +++ b/drivers/staging/rtl8188eu/core/rtw_debug.c @@ -854,7 +854,7 @@ int proc_get_all_sta_info(char *page, char **start, plist = get_next(phead); while ((rtw_end_of_queue_search(phead, plist)) == false) { - psta = LIST_CONTAINOR(plist, struct sta_info, hash_list); + psta = container_of(plist, struct sta_info, hash_list); plist = get_next(plist); |