This driver has to include linux/kmemleak.h to get kmemleak_not_leak in kernel 4.19. I haven't seen any problem when compiling against multiple other kernels, but didn't test all the 3.X versions. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- patches/0085-not-include-kmemleak.patch | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 patches/0085-not-include-kmemleak.patch diff --git a/patches/0085-not-include-kmemleak.patch b/patches/0085-not-include-kmemleak.patch deleted file mode 100644 index d9f051f3..00000000 --- a/patches/0085-not-include-kmemleak.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c -+++ b/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c -@@ -5,7 +5,7 @@ - * - ******************************************************************************/ - #define _RTL8188EU_RECV_C_ --#include <linux/kmemleak.h> -+#include <linux/slab.h> - #include <osdep_service.h> - #include <drv_types.h> - #include <recv_osdep.h> -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe backports" in