UPSTREAM: driver core: bus: add irq_get_affinity callback to bus_type
[ Upstream commit fea4952d ] Introducing a callback in struct bus_type so that a subsystem can hook up the getters directly. This approach avoids exposing random getters in any subsystems APIs. Acked-by:Bjorn Helgaas <bhelgaas@google.com> Reviewed-by:
Christoph Hellwig <hch@lst.de> Reviewed-by:
Hannes Reinecke <hare@suse.de> Reviewed-by:
Ming Lei <ming.lei@redhat.com> Acked-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Change-Id: I30cb14d891c4fe7e6a9e4eef90f4c3ce2dbe2444 Signed-off-by:
Daniel Wagner <wagi@kernel.org> Link: https://lore.kernel.org/r/20241202-refactor-blk-affinity-helpers-v6-1-27211e9c2cd5@kernel.org Signed-off-by:
Jens Axboe <axboe@kernel.dk> Stable-dep-of: a2d5a007 ("scsi: smartpqi: Use is_kdump_kernel() to check for kdump") Signed-off-by:
Sasha Levin <sashal@kernel.org> (cherry picked from commit 5ec90397) Bug: 437846539 Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com>
Loading