summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorMike Kravetz <mike.kravetz@oracle.com>2019-12-01 04:56:30 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2019-12-01 23:59:08 +0300
commit552546366a30d88bd1d6f5efe848b2ab50fd57e5 (patch)
tree2b91a489897f27827e133027f8f86d67c25f9c37 /include/linux/regulator
parent0ac398b171aacd0f0c132d989ec4efb5de94f34a (diff)
downloadlinux-552546366a30d88bd1d6f5efe848b2ab50fd57e5.tar.xz
hugetlbfs: hugetlb_fault_mutex_hash() cleanup
A new clang diagnostic (-Wsizeof-array-div) warns about the calculation to determine the number of u32's in an array of unsigned longs. Suppress warning by adding parentheses. While looking at the above issue, noticed that the 'address' parameter to hugetlb_fault_mutex_hash is no longer used. So, remove it from the definition and all callers. No functional change. Link: http://lkml.kernel.org/r/20190919011847.18400-1-mike.kravetz@oracle.com Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com> Reported-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Davidlohr Bueso <dbueso@suse.de> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Nick Desaulniers <ndesaulniers@google.com> Cc: Ilie Halip <ilie.halip@gmail.com> Cc: David Bolvansky <david.bolvansky@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/regulator')
0 files changed, 0 insertions, 0 deletions