diff options
author | Jia-Ju Bai <baijiaju1990@gmail.com> | 2017-12-18 17:07:54 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-19 15:16:50 +0100 |
commit | 88a527c4981847838273703df010eb8aca5ee023 (patch) | |
tree | ad27cb9c4e4dfc202070ad8c0e2e21fafa3a5487 /lib/rbtree_test.c | |
parent | ac3c7776b17c2d3c252459ca851d3bfc29403d71 (diff) | |
download | op-kernel-dev-88a527c4981847838273703df010eb8aca5ee023.zip op-kernel-dev-88a527c4981847838273703df010eb8aca5ee023.tar.gz |
staging: vt6655: Use GFP_KERNEL in kzalloc
Four kzalloc functions are called with GFP_ATOMIC.
But according to driver call graph, they are not in atomic context,
namely no spinlock is held nor in an interrupt handler.
All these "GFP_ATOMIC"s are unnecessary,
and replace with with "GFP_KERNEL"s.
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/rbtree_test.c')
0 files changed, 0 insertions, 0 deletions