Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3638795imm; Mon, 6 Aug 2018 08:08:38 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeUdz1cykvtLwtF8dmC8wdFSa0FiMvn/5tgo57hiF19cpktO2YdZQizG3/yWc98drWEnG6n X-Received: by 2002:a62:5f82:: with SMTP id t124-v6mr17635023pfb.223.1533568118378; Mon, 06 Aug 2018 08:08:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533568118; cv=none; d=google.com; s=arc-20160816; b=xWECuObTuFX15xq0XIINAStox2DZb4/IqY5hF/udQx5fWumfFo5RSWsk+B2MPYCh6R ABsb/3YX3ukKWvhu151JZAw1DTQqkgZ0DKPTky6T6dZe20/aVL5oYVb6bM+CxO4zpnOF TwNlik7ElTcjauzeru8hGYKx1/Z+5kqMXRFAoFWJkYk/qDjRLCinuRPMtD+GpQ+SRfzN /RkCmkUX5z41HImZeY8b2wPOsIwYe8iScdI8IxC2ck40VjE7LxO2mgJRwMV0c6ZcyxZv ol5qr7mPkB83qo0RgUAodIbwICJS3YBc9iysGmqgmji4rwHQJQNaETzwwCL6AZjrob49 caeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=rYoxsb6mB11+EEGRUDwY5xjmxxrQk5IY/XKCQuxpL48=; b=JZDTd0Ho4CERi2wd1uj3nEBHI+1yUPMJbUE8dkUNgVi1npwdNEwamV9UJHOIYrO8U6 ZYcL2CosWDBAh5SSiSkB9RzCy2gAoblPbkSTUlzqIvPv+AHr5REGUnSY5QJoztypEGa0 +HyP94miKyfXrm75+t391pKgDN5BtJLPcMTp09G+3AmUnPLRBadSEjEG4x7HlwW1YanB x82j495U6PnA+kfKSUei8bj8KoGMcq4LJewj5W9oj/0ncCcPDSdmyiLTCujORrhk3597 HCEDZxG8RcgoZQ2qmp+91RofGuacX2O7iKbyakUNeMEdacPWSaSlEVuaNxF0UDeljPDM xO/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b="g64/m/ZX"; 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 w3-v6si9015601plq.61.2018.08.06.08.08.23; Mon, 06 Aug 2018 08:08:38 -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; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b="g64/m/ZX"; 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 S1730876AbeHFQZC (ORCPT + 99 others); Mon, 6 Aug 2018 12:25:02 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:50642 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727112AbeHFQZC (ORCPT ); Mon, 6 Aug 2018 12:25:02 -0400 Received: by mail-it0-f68.google.com with SMTP id j81-v6so15833545ite.0 for ; Mon, 06 Aug 2018 07:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=rYoxsb6mB11+EEGRUDwY5xjmxxrQk5IY/XKCQuxpL48=; b=g64/m/ZXVc90phe+gXiHGOHKLhvuU+fsqOaJYMTEvNdW1E46vZdcE5VBeR2tevii9E kPYY9x8mCpe9x5Mn8ZKK2U3fFbAZoCjSRB26WVWGHpdFlr1J+zTxAUm3c0UUR/b+e6NL WEWtH3x+zpv3hiv3mxT3qqCY48IYz1pFCiSh0iHANo/dXKaGIXDe9YH0fA7BP6wW2cUh Yfa1TaTcQKQQYxX9HOExN9B0zrX1R7VxhfSlXA+UTqAxMfep7s+i89QlAtKuX+VjFpVY VKQ36h2ti/qOG6I4tcTZtqrbWup9sGMKC+CG6C7OlTunMAXcDiTYKYWqkPdWxWjN5fQe nB8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=rYoxsb6mB11+EEGRUDwY5xjmxxrQk5IY/XKCQuxpL48=; b=YHQDBYGJeJh4zI1hW+BdvKmR8ULZgSeeBgXzSksXaXJYXrEIqTm0731nyTEUaNpHw+ 985Uk5+5Z9hzYpRW+gK490YN4yQdc+UwyhC5STRkdHLr4vK9sDUf3joiZHYcABSR3AQV j5/v3Q3MUdcJg+2SQihw5m+R3tsLU6LyG6E5AdhIw29viaxQ07h6/luhw4+Pj+NhVbAG wzIPhC8Wk13hzz8JjJNQqYuZqT3dhYHN12NdGMtetji/9XXqwOvy9YcAikxIhQ+ZlZPL X05ZaJinyjisJQrTHp+6ExVCoLSCm4iAzAehxUwDJIqB5oBwtlZlDUGUbZhq097L4JfD tV/A== X-Gm-Message-State: AOUpUlFTSPd9KNODIuripA0D+dgHXYN9YPMm5Ak3S+qK42z1GQcl6zOb yt+SkgiSidMzCCrYx5HFDPegNqoxAY4= X-Received: by 2002:a24:8a85:: with SMTP id v127-v6mr15606500itd.98.1533564942747; Mon, 06 Aug 2018 07:15:42 -0700 (PDT) Received: from [192.168.1.55] ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id d74-v6sm1370103itb.23.2018.08.06.07.15.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Aug 2018 07:15:41 -0700 (PDT) Subject: Re: [PATCH] xen-blkfront: use true and false for boolean values To: "Gustavo A. R. Silva" , Konrad Rzeszutek Wilk , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Boris Ostrovsky , Juergen Gross Cc: xen-devel@lists.xenproject.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180805000859.GA20132@embeddedor.com> From: Jens Axboe Message-ID: <40c7f420-804c-6ea4-c4aa-11dd35bf9ce5@kernel.dk> Date: Mon, 6 Aug 2018 08:15:40 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180805000859.GA20132@embeddedor.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/4/18 6:08 PM, Gustavo A. R. Silva wrote: > 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. Applied, thanks. -- Jens Axboe