aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-armada-370-xp.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-08-25 22:34:05 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-08-25 22:40:26 +0200
commitb33394ba5c0974a578c24b2fecbb91a984da5e09 (patch)
tree48d38aafe0061b061d2e5e3bda974785aa63382e /drivers/irqchip/irq-armada-370-xp.c
parentirqdomain: Prevent potential NULL pointer dereference in irq_domain_push_irq() (diff)
downloadlinux-dev-b33394ba5c0974a578c24b2fecbb91a984da5e09.tar.xz
linux-dev-b33394ba5c0974a578c24b2fecbb91a984da5e09.zip
genirq/proc: Avoid uninitalized variable warning
kernel/irq/proc.c: In function ‘show_irq_affinity’: include/linux/cpumask.h:24:29: warning: ‘mask’ may be used uninitialized in this function [-Wmaybe-uninitialized] #define cpumask_bits(maskp) ((maskp)->bits) gcc is silly, but admittedly it can't know that this won't be called with anything else than the enumerated constants. Shut up the warning by creating a default clause. Fixes: 6bc6d4abd22e ("genirq/proc: Use the the accessor to report the effective affinity Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/irqchip/irq-armada-370-xp.c')
0 files changed, 0 insertions, 0 deletions