Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

locking/atomic: scripts: remove bogus order parameter

At the start of gen_proto_order_variants(), the ${order} variable is not
yet defined, and will be substituted with an empty string.

Replace the current bogus use of ${order} with an empty string instead.

This results in no change to the generated headers.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230605070124.3741859-15-mark.rutland@arm.com

authored by

Mark Rutland and committed by
Peter Zijlstra
a083ecc9 7c7084f3

+1 -1
+1 -1
scripts/atomic/gen-atomic-fallback.sh
··· 81 81 82 82 local basename="arch_${atomic}_${pfx}${name}${sfx}" 83 83 84 - local template="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")" 84 + local template="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "")" 85 85 86 86 # If we don't have relaxed atomics, then we don't bother with ordering fallbacks 87 87 # read_acquire and set_release need to be templated, though