summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/axp288_adc.c
diff options
context:
space:
mode:
authorJia-Ye Li <jiayeli@synology.com>2019-09-25 16:37:29 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-04 10:20:57 +0200
commit6e58fc14d7ed9160dc6e0e55ac11dfc84ed578e1 (patch)
tree2aff59044d376432ab304d76001a4688307f046c /drivers/iio/adc/axp288_adc.c
parent5bdea6060618cfcf1459dca137e89aee038ac8b9 (diff)
downloadlinux-stable-6e58fc14d7ed9160dc6e0e55ac11dfc84ed578e1.tar.gz
linux-stable-6e58fc14d7ed9160dc6e0e55ac11dfc84ed578e1.tar.bz2
linux-stable-6e58fc14d7ed9160dc6e0e55ac11dfc84ed578e1.zip
staging: exfat: Use kvzalloc() instead of kzalloc() for exfat_sb_info
Fix mount failed "Cannot allocate memory". When the memory gets fragmented, kzalloc() might fail to allocate physically contiguous pages for the struct exfat_sb_info (its size is about 34KiB) even the total free memory is enough. Use kvzalloc() to solve this problem. Reviewed-by: Ethan Wu <ethanwu@synology.com> Signed-off-by: Jia-Ye Li <jiayeli@synology.com> Link: https://lore.kernel.org/r/20190925083729.4653-1-jiayeli@synology.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/adc/axp288_adc.c')
0 files changed, 0 insertions, 0 deletions