Commit 00df39d2 authored by Alexander Gordeev's avatar Alexander Gordeev Committed by Jiri Slaby
Browse files

PCI/MSI: Return msix_capability_init() failure if populate_msi_sysfs() fails



commit 2adc7907 upstream.

If populate_msi_sysfs() function failed msix_capability_init() must return
the error code, but it returns the success instead.  This update fixes the
described misbehaviour.

Signed-off-by: default avatarAlexander Gordeev <agordeev@redhat.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarTejun Heo <tj@kernel.org>

Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent c5ddd2b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment