From: Juergen Gross Date: Wed, 19 Jan 2022 13:06:00 +0000 (+0100) Subject: fix wrong function declaration X-Git-Tag: xen-4.17.0-rc4~12 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2535683834cc33729cad8d444caa3c170942fe26;p=mini-os.git fix wrong function declaration Coverity spotted a wrong function declaration, fix it. Coverity-Id: 1497423 Signed-off-by: Juergen Gross Reviewed-by: Bertrand Marquis Acked-by: Andrew Cooper --- diff --git a/include/balloon.h b/include/balloon.h index 8f7c8bd..510e475 100644 --- a/include/balloon.h +++ b/include/balloon.h @@ -50,7 +50,7 @@ static inline int chk_free_pages(unsigned long needed) { return needed <= nr_free_pages; } -static inline balloon_set_nr_pages(unsigned long pages, unsigned long pfn) { } +static inline void balloon_set_nr_pages(unsigned long pages, unsigned long pfn) { } #endif /* CONFIG_BALLOON */ #endif /* _BALLOON_H_ */