summaryrefslogtreecommitdiff
path: root/drivers/isdn/hisax/l3dss1.h
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-07-27 05:48:28 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-27 07:23:47 +0300
commit055d624facda577d3168951a1d6e2519e4fc30f7 (patch)
tree79fd7cb88ce573822d8514c8e66d9190acd57008 /drivers/isdn/hisax/l3dss1.h
parent87935aa776caae9c8346797271d19fa710b65a6a (diff)
downloadlinux-055d624facda577d3168951a1d6e2519e4fc30f7.tar.xz
isdn: hisax: config: Replace GFP_ATOMIC with GFP_KERNEL
hisax_cs_new() and hisax_cs_setup() are never called in atomic context. They call kmalloc() and 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>
Diffstat (limited to 'drivers/isdn/hisax/l3dss1.h')
0 files changed, 0 insertions, 0 deletions