summaryrefslogtreecommitdiffstats
path: root/Documentation/clk.txt
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2018-04-04 12:40:07 +0200
committerThomas Gleixner <tglx@linutronix.de>2018-04-06 12:19:50 +0200
commit0211e12dd0a5385ecffd3557bc570dbad7fcf245 (patch)
tree7565018404d1075b968f69ee4e90b2bf5b9cf981 /Documentation/clk.txt
parent83fbdf1c0595470d98ee99a6474099aee870640f (diff)
downloadlinux-0211e12dd0a5385ecffd3557bc570dbad7fcf245.tar.gz
linux-0211e12dd0a5385ecffd3557bc570dbad7fcf245.tar.bz2
linux-0211e12dd0a5385ecffd3557bc570dbad7fcf245.zip
genirq/affinity: Don't return with empty affinity masks on error
When the allocation of node_to_possible_cpumask fails, then irq_create_affinity_masks() returns with a pointer to the empty affinity masks array, which will cause malfunction. Reorder the allocations so the masks array allocation comes last and every failure path returns NULL. Fixes: 9a0ef98e186d ("genirq/affinity: Assign vectors to all present CPUs") Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Christoph Hellwig <hch@infradead.org> Cc: Ming Lei <ming.lei@redhat.com>
Diffstat (limited to 'Documentation/clk.txt')
0 files changed, 0 insertions, 0 deletions