summaryrefslogtreecommitdiff
path: root/include/linux/acpi_dma.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2020-09-04 16:36:19 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-12 11:45:28 +0200
commit61763c535b865693af88f739443706618f67df0b (patch)
tree2ed638f97c87c2c58a7576ac36563d27a320bb69 /include/linux/acpi_dma.h
parentd27c6bba8d86fce0264c71ca99fd304b15ddccc9 (diff)
include/linux/log2.h: add missing () around n in roundup_pow_of_two()
[ Upstream commit 428fc0aff4e59399ec719ffcc1f7a5d29a4ee476 ] Otherwise gcc generates warnings if the expression is complicated. Fixes: 312a0c170945 ("[PATCH] LOG2: Alter roundup_pow_of_two() so that it can use a ilog2() on a constant") Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Link: https://lkml.kernel.org/r/0-v1-8a2697e3c003+41165-log_brackets_jgg@nvidia.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/acpi_dma.h')
0 files changed, 0 insertions, 0 deletions