fix wrong function declaration
PATCH 1/1 fix wrong function declaration
Coverity spotted a wrong function declaration, fix it.
Coverity-Id: 1497423
Signed-off-by Juergen Gross <[email protected]>
--- include/balloon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/balloon.h +1 -1
@@ -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_ */
Signature · 1 line
2.31.1
Hi Juergen,
Quoted 6 lines · Juergen Gross
Coverity spotted a wrong function declaration, fix it.
Coverity-Id: 1497423
Signed-off-by Juergen Gross <[email protected]>
Reviewed-by Bertrand Marquis <[email protected]>
Cheers
Bertrand
Quoted 21 lines
---
include/balloon.h| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)include/balloon.h +1
-1@@ -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_ */ Signature · 1 line
2.31.1