]> xenbits.xensource.com Git - xen.git/commit
vpci: fix function attributes for vpci_process_pending
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Tue, 14 Dec 2021 08:44:44 +0000 (09:44 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 14 Dec 2021 08:44:44 +0000 (09:44 +0100)
commit7dc0233f534f64e7f3ee71e74e05dd5ab8a24808
treead8ad19bfbd5cfe84f92033513e13f27c0054901
parentd828caa9aeee80c59a35f662f875f6573e9b532f
vpci: fix function attributes for vpci_process_pending

vpci_process_pending is defined with different attributes, e.g.
with __must_check if CONFIG_HAS_VPCI enabled and not otherwise.
Fix this by defining both of the definitions with __must_check.

Fixes: 14583a590783 ("7fbb096bf345 kconfig: don't select VPCI if building a shim-only binary")
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/include/xen/vpci.h