]> git.baikalelectronics.ru Git - kernel.git/commit
genirq/msi: Prevent overwriting domain name
authorThomas Gleixner <tglx@linutronix.de>
Mon, 19 Jun 2017 23:37:04 +0000 (01:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jun 2017 16:21:08 +0000 (18:21 +0200)
commit286f24a72799c4bb2ab733e1942a19f8ff1c4064
tree027fee7d5a4cc1dd8dc9f6d0487df3108d457073
parent0f8b36615e256068026831104d5eefe1967a8dd9
genirq/msi: Prevent overwriting domain name

Prevent overwriting an already assigned domain name. Remove the extra check
for chip->name, because if domain->name is NULL overwriting it with NULL is
not a problem.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>
Link: http://lkml.kernel.org/r/20170619235443.510684976@linutronix.de
kernel/irq/msi.c