1
0
Fork 0
alistair23-linux/drivers/staging/rtlwifi
Randy Dunlap 514c603249 headers: untangle kmemleak.h from mm.h
Currently <linux/slab.h> #includes <linux/kmemleak.h> for no obvious
reason.  It looks like it's only a convenience, so remove kmemleak.h
from slab.h and add <linux/kmemleak.h> to any users of kmemleak_* that
don't already #include it.  Also remove <linux/kmemleak.h> from source
files that do not use it.

This is tested on i386 allmodconfig and x86_64 allmodconfig.  It would
be good to run it through the 0day bot for other $ARCHes.  I have
neither the horsepower nor the storage space for the other $ARCHes.

Update: This patch has been extensively build-tested by both the 0day
bot & kisskb/ozlabs build farms.  Both of them reported 2 build failures
for which patches are included here (in v2).

[ slab.h is the second most used header file after module.h; kernel.h is
  right there with slab.h. There could be some minor error in the
  counting due to some #includes having comments after them and I didn't
  combine all of those. ]

[akpm@linux-foundation.org: security/keys/big_key.c needs vmalloc.h, per sfr]
Link: http://lkml.kernel.org/r/e4309f98-3749-93e1-4bb7-d9501a39d015@infradead.org
Link: http://kisskb.ellerman.id.au/kisskb/head/13396/
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Reported-by: Michael Ellerman <mpe@ellerman.id.au>	[2 build failures]
Reported-by: Fengguang Wu <fengguang.wu@intel.com>	[2 build failures]
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Wei Yongjun <weiyongjun1@huawei.com>
Cc: Luis R. Rodriguez <mcgrof@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Mimi Zohar <zohar@linux.vnet.ibm.com>
Cc: John Johansen <john.johansen@canonical.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-04-05 21:36:27 -07:00
..
btcoexist staging: rtlwifi: remove condition where it has no effect 2018-03-06 04:01:11 -08:00
halmac staging: r8822be: mark expected switch fall-throughs 2017-10-18 16:21:26 +02:00
phydm staging: r8822be: fix typos in header guard macros 2018-03-29 11:54:38 +02:00
rtl8822be staging: rtlwifi: remove unneeded semicolon 2018-03-06 04:01:11 -08:00
Kconfig Kconfig updates for v4.16 2018-02-01 11:45:49 -08:00
Makefile
TODO
base.c staging: rtlwifi: Remove nonessential semicolon 2018-03-06 04:01:11 -08:00
base.h staging: rtlwifi: Convert timers to use timer_setup() 2017-10-18 15:52:39 +02:00
cam.c staging: rtlwifi: remove redundant assignments to ul_enc_algo 2017-11-27 09:20:40 +01:00
cam.h
core.c staging: rtlwifi: remove redundant initialization of 'cfg_cmd' 2018-01-26 15:08:43 +01:00
core.h staging: rtlwifi: remove unused functions 2017-09-17 16:35:26 +02:00
debug.c staging: rtlwifi: Remove unnecessary parentheses 2017-10-18 15:53:50 +02:00
debug.h
efuse.c staging: rtlwifi: use kcalloc instead of multiply 2017-09-17 16:35:26 +02:00
efuse.h
pci.c headers: untangle kmemleak.h from mm.h 2018-04-05 21:36:27 -07:00
pci.h
ps.c staging: rtlwifi: Convert timers to use timer_setup() 2017-10-18 15:52:39 +02:00
ps.h
pwrseqcmd.h
rc.c staging: rtlwifi: Remove unnecessary parentheses 2017-10-18 15:53:50 +02:00
rc.h
regd.c
regd.h
stats.c
stats.h
wifi.h staging: rtlwifi: add identifier names to function definition arguments 2018-02-16 15:39:37 +01:00