mm-vmalloc-fix-align-value-calculation-error-v2
authorzijun_hu <zijun_hu@zoho.com>
Sat, 10 Sep 2016 10:34:03 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:03 +0000 (20:34 +1000)
commitdba5fd1bf247600841a953a70f067ee114c8ae3f
treef3757f6aedea2dc8edeea19183cd778ba355ec84
parent90f7a60170326622e735b509cf99f14a529f570d
mm-vmalloc-fix-align-value-calculation-error-v2

i provide another patch called v2 based on your suggestion as shown below
it have following correction against original patch v1
1) use name get_count_order_long() instead of get_order_long()
2) return -1 if @l == 0 to consist with get_order_long()
3) cast type to int before returning from get_count_order_long()
4) move up function parameter checking for __get_vm_area_node()
5) more commit message is offered to make issue and approach clear
any comments about new patch is welcome

Link: http://lkml.kernel.org/r/57AABC8B.1040409@zoho.com
Signed-off-by: zijun_hu <zijun_hu@htc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/bitops.h
mm/vmalloc.c
This page took 0.02777 seconds and 5 git commands to generate.