summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2019-08-05 04:19:06 +0300
committerThomas Gleixner <tglx@linutronix.de>2019-08-08 09:47:55 +0300
commit491beed3b102b6e6c0e7734200661242226e3933 (patch)
tree6eaa12d68f258d58af024028649e7f244ce9cdcd /.clang-format
parent33920f1ec5bf47c5c0a1d2113989bdd9dfb3fae9 (diff)
downloadlinux-491beed3b102b6e6c0e7734200661242226e3933.tar.xz
genirq/affinity: Create affinity mask for single vector
Since commit c66d4bd110a1f8 ("genirq/affinity: Add new callback for (re)calculating interrupt sets"), irq_create_affinity_masks() returns NULL in case of single vector. This change has caused regression on some drivers, such as lpfc. The problem is that single vector requests can happen in some generic cases: 1) kdump kernel 2) irq vectors resource is close to exhaustion. If in that situation the affinity mask for a single vector is not created, every caller has to handle the special case. There is no reason why the mask cannot be created, so remove the check for a single vector and create the mask. Fixes: c66d4bd110a1f8 ("genirq/affinity: Add new callback for (re)calculating interrupt sets") Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/20190805011906.5020-1-ming.lei@redhat.com
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions