summaryrefslogtreecommitdiff
path: root/include/rdma/ib_marshall.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2018-02-05 14:16:06 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-22 15:43:54 +0100
commit297f8eafece7c4fcabe60b7fc445d497541487e2 (patch)
tree1cb865e5a5bb867f0ffd2451a2b4f95b349ea1f0 /include/rdma/ib_marshall.h
parentbe1ea502e31a47e3afd1c82964f35c78c80d271e (diff)
nospec: Move array_index_nospec() parameter checking into separate macro
commit 8fa80c503b484ddc1abbd10c7cb2ab81f3824a50 upstream. For architectures providing their own implementation of array_index_mask_nospec() in asm/barrier.h, attempting to use WARN_ONCE() to complain about out-of-range parameters using WARN_ON() results in a mess of mutually-dependent include files. Rather than unpick the dependencies, simply have the core code in nospec.h perform the checking for us. Signed-off-by: Will Deacon <will.deacon@arm.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1517840166-15399-1-git-send-email-will.deacon@arm.com Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/rdma/ib_marshall.h')
0 files changed, 0 insertions, 0 deletions