Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2049345imm; Sat, 4 Aug 2018 17:52:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdREp0BpTDIDPzJ4dvlkKhXygTMcqJYA0XZ3gjVAEHg1eJ1yG2iDRhIqVXfuOekBsj4BVuU X-Received: by 2002:a62:586:: with SMTP id 128-v6mr3188995pff.80.1533430323929; Sat, 04 Aug 2018 17:52:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533430323; cv=none; d=google.com; s=arc-20160816; b=OrL6q3AZlqGOZM/E2p0yZyEovbm3/lKk2YrqnGYTkLjQRlDpHmj+9z7tjtb/tYU4Vp OPC/p9DXSG2lJiAhhCgtX2G+p/xi768ZhmXvNcwrJevNzZREhR43M83IYN0FxxFPa4ln VPOxOWsCd8ws2Ozy5qAQ66JloXoTqt4BtO3KxywQgIGXyMcDk3+kSzg7bGskqZ1xCYGP kLuY5WTVE3gCrl4LzV0GoydJ1E9QhiKuUkInA5Vlg8TNnaGqN6dhNk96oFibsc25vhJ9 CGbIEPw2FFwRV1b1QG8q2Bfb0rf61Q/gYmSUHFPK2AQUhCn17J45cwJchaOmkWSFTJZ+ /5vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date :arc-authentication-results; bh=wsEO7mXEdGUPuohSY1B6OaHdlXm6aI0IIs5zEG7m26c=; b=imxnPM8NjCjRxGaEifza6duua1Pb7JgZYphGO6FmDCnoQNPTj9TcKdvATYN4xkz2+g EYtjvcnhdTRMNt25hSNOW2dexpFgjA2sst1msAOSAj844n4bPNYxMJHpgF3e39vV8VUn 29TzO5D9bed07KsRgl9muMlGTb9d80nQ0SO2SKSRiSRpTNIW9ONQ/4aZvnmtz3ZRNlBN loTyqH+47LZnjJgNgmcMarnGXqN5Z0Sg3aFKZymplejUyvEm1tPP8PFABsIjl1kus3/0 g7/xu0irbPU+9a+LgxgyYDqnWD44zBxvS/jtJu7S+lm+ITd5oVSVw+l65VoD9EH+i9Yr xI3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1-v6si2941180pfb.305.2018.08.04.17.51.36; Sat, 04 Aug 2018 17:52:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726691AbeHECwu (ORCPT + 99 others); Sat, 4 Aug 2018 22:52:50 -0400 Received: from gateway23.websitewelcome.com ([192.185.50.185]:36161 "EHLO gateway23.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726069AbeHECwt (ORCPT ); Sat, 4 Aug 2018 22:52:49 -0400 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 4B2708442 for ; Sat, 4 Aug 2018 19:50:15 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id m7FPf6TgjbXuJm7FPfVyoU; Sat, 04 Aug 2018 19:50:15 -0500 X-Authority-Reason: nr=8 Received: from [189.250.50.82] (port=35454 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fm7FO-003mnf-Q5; Sat, 04 Aug 2018 19:50:14 -0500 Date: Sat, 4 Aug 2018 19:50:14 -0500 From: "Gustavo A. R. Silva" To: Boris Ostrovsky , Juergen Gross Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH] xen/biomerge: Use true and false for boolean values Message-ID: <20180805005014.GA2299@embeddedor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 189.250.50.82 X-Source-L: No X-Exim-ID: 1fm7FO-003mnf-Q5 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.50.82]:35454 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 65 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return statements in functions returning bool should use true or false instead of an integer value. This code was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- drivers/xen/biomerge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/biomerge.c b/drivers/xen/biomerge.c index 30d7f52..55ed80c 100644 --- a/drivers/xen/biomerge.c +++ b/drivers/xen/biomerge.c @@ -17,7 +17,7 @@ bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, * XXX: Add support for merging bio_vec when using different page * size in Xen and Linux. */ - return 0; + return false; #endif } EXPORT_SYMBOL(xen_biovec_phys_mergeable); -- 2.7.4