1
0
Fork 0
alistair23-linux/drivers/isdn/hardware
Jia-Ju Bai 9d8009dee9 isdn: mISDN: netjet: Replace GFP_ATOMIC with GFP_KERNEL in nj_probe()
nj_probe() is never called in atomic context.
It calls kzalloc() with GFP_ATOMIC, which is not necessary.
GFP_ATOMIC can be replaced with GFP_KERNEL.

This is found by a static analysis tool named DCNS written by myself.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-26 21:21:23 -07:00
..
avm treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
eicon Merge branch 'hch.procfs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-06-04 10:00:01 -07:00
mISDN isdn: mISDN: netjet: Replace GFP_ATOMIC with GFP_KERNEL in nj_probe() 2018-07-26 21:21:23 -07:00
Kconfig Use menuconfig objects: ISDN: CONFIG_ISDN_CAPI 2007-07-17 10:23:05 -07:00
Makefile Add mISDN driver 2008-07-27 01:46:33 +02:00