]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/pciback: fix cast to restricted pci_ers_result_t and pci_power_t
authorMin-Hua Chen <minhuadotchen@gmail.com>
Tue, 17 Sep 2024 23:36:50 +0000 (07:36 +0800)
committerJuergen Gross <jgross@suse.com>
Wed, 25 Sep 2024 09:31:09 +0000 (11:31 +0200)
commit8f2f74f2f3ebd9bb7159301cb7560db75d2e801a
tree5014ad2768703a83f35c7ae14f0ed590c2c1d12d
parent2fae6bb7be320270801b3c3b040189bd7daa8056
xen/pciback: fix cast to restricted pci_ers_result_t and pci_power_t

This patch fix the following sparse warning by applying
__force cast to pci_ers_result_t and pci_power_t.

drivers/xen/xen-pciback/pci_stub.c:760:16: sparse: warning: cast to restricted pci_ers_result_t
drivers/xen/xen-pciback/conf_space_capability.c:125:22: sparse: warning: cast to restricted pci_power_t

No functional changes intended.

Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Message-ID: <20240917233653.61630-1-minhuadotchen@gmail.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/xen-pciback/conf_space_capability.c
drivers/xen/xen-pciback/pci_stub.c