]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
genirq/matrix: Make - vs ?: Precedence explicit
authorKees Cook <keescook@chromium.org>
Wed, 22 Nov 2017 20:56:45 +0000 (12:56 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 23 Nov 2017 19:09:31 +0000 (20:09 +0100)
commit75f1133873d6a1276d3c19918b7c94975840f990
tree421c20209b771710454d53e22a879ceb84543cec
parent328bf1b29c3741de3c55f2b2e5179d18f16ba9c1
genirq/matrix: Make - vs ?: Precedence explicit

Noticed with a Clang build. This improves the readability of the ?:
expression, as it has lower precedence than the - expression. Show
explicitly that - is evaluated first.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20171122205645.GA27125@beast
kernel/irq/matrix.c