summaryrefslogtreecommitdiff
path: root/drivers/power/supply/wm831x_backup.c
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-07-27 11:04:53 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-08-24 18:52:35 +0300
commit151356270b0761e455ed82bba3353fb494451555 (patch)
treeef039183cbec5ad495dfe0a8d82eb25e3cb5dbeb /drivers/power/supply/wm831x_backup.c
parenta798fbac33c4cbfe7d539298623b7af6c3f9525a (diff)
downloadlinux-151356270b0761e455ed82bba3353fb494451555.tar.xz
igb: Replace GFP_ATOMIC with GFP_KERNEL in igb_sw_init()
igb_sw_init() is never called in atomic context. It calls kzalloc() and kcalloc() 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> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/power/supply/wm831x_backup.c')
0 files changed, 0 insertions, 0 deletions