The main goal of this series is to get rid of a needless and ugly typedef in the rtl8712 wlan driver. In the course of fixing that, I found a bug thati will can might (at least in theory) lead to a overrun during a memcpy, as well as a duplicate struct. Finally after cleaning up the typedef, I could not bring myself to leave a variable called SupportedRates in the kernel with my name on it. I have tested this on amd64. cwthe module loads and doesn't explode Joshua Clayton (5): staging: rtl8712: fix buggy size calculation staging: rtl8712: simplify size calculation staging: rtl8712: remove duplicate struct staging: rtl8712: remove typedefs staging: rtl8712: style fix: drivers/staging/rtl8712/ieee80211.c | 22 ++++++------- drivers/staging/rtl8712/rtl871x_cmd.c | 28 +++++----------- drivers/staging/rtl8712/rtl871x_cmd.h | 4 +-- drivers/staging/rtl8712/rtl871x_event.h | 2 +- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 33 +++++++++---------- drivers/staging/rtl8712/rtl871x_mlme.c | 47 ++++++++++----------------- drivers/staging/rtl8712/rtl871x_mlme.h | 2 +- drivers/staging/rtl8712/rtl871x_mp_ioctl.c | 6 ++-- drivers/staging/rtl8712/wlan_bssdef.h | 32 +++--------------- 9 files changed, 63 insertions(+), 113 deletions(-) -- 2.4.6 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel