diff mbox series

[10/10] patches: Do not remove linux/kmemleak.h include

Message ID 20180923174535.16198-11-hauke@hauke-m.de (mailing list archive)
State Accepted
Headers show
Series backports: misc fixes to improve support of 4.19 | expand

Commit Message

Hauke Mehrtens Sept. 23, 2018, 5:45 p.m. UTC
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@hauke-m.de>
---
 patches/0085-not-include-kmemleak.patch | 11 -----------
 1 file changed, 11 deletions(-)
 delete mode 100644 patches/0085-not-include-kmemleak.patch

Comments

Johannes Berg Sept. 23, 2018, 8:18 p.m. UTC | #1
On Sun, 2018-09-23 at 19:45 +0200, Hauke Mehrtens wrote:
> 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.

Looks like kmemleak.h was added in 2.6.31, so ... should be fine.

johannes
--
To unsubscribe from this list: send the line "unsubscribe backports" in
diff mbox series

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>