[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fix wrong function declaration


  • To: Juergen Gross <jgross@xxxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Wed, 19 Jan 2022 13:09:06 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=y/715q9jbYoSzpiUtBQ/I08OdDVXTaUfZ8kkEa9ql4c=; b=oDuYFyG5jUXM/aCTygajhaiOHb3cYCa3L20cO1GAZ+Vw1dd6y/rePHrpBxmMsjonBU5DhZEckprDRp5ww2OZydC740zSkT5hUwECiaRp3GJcik0l5TA1vQFMqtnHvgnF3MHztTawVdgHWxpn/9okLBz9+3HeqdxaWamCn0hw9844M7hP/I/EElj8yQ4s1xwO83Lajwco8m+IDASJrSML9EYmk6wvHQ9zcOwbG+IT4ec6dxn3PxPuMhTSVkWviW9n/DyA2ToI7U+rLRzeOvBP/+W6Zfc/tr/EWNNeJAtOobhHWwbsAVI5YhZrH9i1derhTDKFQ85X4XSG8E6VIaloow==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AuE9EShkIZYuotCZuJ8ZlgBC/UtRHSCmdy+lm9NNeGCPwugOJAdSdF5+wW5XbuobPHQtKSmQShn/RMuxCsi/EFc3r2QQHJEb7zWmUMeEvx4ZGlWnyDaWa9YAp8Zn+IipQTr+whbvBRVUj8oJ8O54rrlTfXkZcSzFQIfDDh6BQduuywtHHJZOHFkcErRyyKgxsCodgszjAn+qonZIs1+YSVX+zTEPnIWg6uQ5vEqvyf5s4Ogf4/iJy+S+IU3TN3HDwmBk8PSYvtlSiN9K4fngvz16LC9B+4JIRgDT07RPH38gx0zYbNS2xRA3ODFSQC4omdqtEwr5x2Hyuo9llTU+qA==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: "minios-devel@xxxxxxxxxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "samuel.thibault@xxxxxxxxxxxx" <samuel.thibault@xxxxxxxxxxxx>, "wl@xxxxxxx" <wl@xxxxxxx>
  • Delivery-date: Wed, 19 Jan 2022 13:09:23 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHYDTViKGGEIvvAiECyA/XXcXARI6xqUQ2A
  • Thread-topic: [PATCH] fix wrong function declaration

Hi Juergen,

> On 19 Jan 2022, at 13:06, Juergen Gross <jgross@xxxxxxxx> wrote:
> 
> Coverity spotted a wrong function declaration, fix it.
> 
> Coverity-Id: 1497423
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>

Cheers
Bertrand

> ---
> include/balloon.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/balloon.h b/include/balloon.h
> index 8f7c8bd8..510e475a 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_ */
> -- 
> 2.31.1
> 
> 




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.