While testing the patches that removed the semaphores from this driver, kmemleak reported some leaked skbs. There were also some false positives. I also found code that dereferenced a pointer before it was checked. All of these conditions are fixed.
Signed-off-by: Larry Finger <larry.fin...@lwfinger.net> Larry Finger (3): staging: r8712u: Check pointer before use staging: r8712u: Fix leak of skb staging: r8712u: Handle some false positives from kmemleak drivers/staging/rtl8712/recv_linux.c | 1 - drivers/staging/rtl8712/rtl8712_recv.h | 1 - drivers/staging/rtl8712/usb_ops_linux.c | 86 ++++++++++++++------------------- drivers/staging/rtl8712/xmit_linux.c | 2 + 4 files changed, 39 insertions(+), 51 deletions(-) -- 2.1.4