Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp122610pxf; Wed, 24 Mar 2021 00:26:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxD8ThrhAyQ2zu5BmrlxbbVHZhCosaInhieuGqqBYKjscaVrPcNp/YKVJu/HoXDenaMVRiC X-Received: by 2002:a17:906:3648:: with SMTP id r8mr2281073ejb.58.1616570763919; Wed, 24 Mar 2021 00:26:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616570763; cv=none; d=google.com; s=arc-20160816; b=t6yBHG/OiOFAk3r2PQBVozutRIcF9e+DBUO4Sh9OQjvgfHwjQvaZZFAHbOLCBySf1+ 5L/TBjD836VxRz503pZDzCaaB/16XHK7s3ieoh4fiPsXsRegDu9BoOAQq5SIv3SrD34d E1YEFW5huKz06iCgknuBWA3mrg0N5xRoIedM2odhSfHa43kOr7m2PxW9XxyDuu6o0yh1 P8C5R+9odzs+ufNU3Yp0S8aLbQaz7hmq4K8APVI2/S2/2EbUJ2kI0T7vgDkCDeBqH5HP e4/QmCHncQASJPZCn5Kb7AeskRmQMwLx3PDA1F2DbJIxcPWf8GQSMUaRfi10MFXSqo4L BPKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=jE/A9gclmbUmROJZXhpIIoLGxsIzSsaypf7ZPzxLMyE=; b=P5A9kWLhSd+oyb3l/57+Esip+Av5E1pBpzD9wf/QxLl48ZMGNJ6ZSDefF6Ouccb/E6 Ttcgoi8kQt4g0FrtBryIu5OYfME9JpxxH/Dn8exKWXRAtvcTEUzUfK0abqv5nNwSwG8R ty8addGP1pluYci70OWcU25r5A3BhNGTxmCy3tt9jkU2nZrYLNDWtGtS5tcqeMNEX6Mm TA8+sErAaIgVGa1dwZn9azXUsA7vhCFdXZegJm6zYbEA8xVKsfYC6V/Djyk1b919hUbK F9huPLwdw8lTTJzK3UDzvYcbZVSRwzuc+CWP/V5l9aXoQsJWzIQN1zw0eV6xd8787dMT /NqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c6si1055194edr.602.2021.03.24.00.25.41; Wed, 24 Mar 2021 00:26:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231520AbhCWUi4 (ORCPT + 99 others); Tue, 23 Mar 2021 16:38:56 -0400 Received: from mail-lf1-f49.google.com ([209.85.167.49]:43631 "EHLO mail-lf1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233401AbhCWUir (ORCPT ); Tue, 23 Mar 2021 16:38:47 -0400 Received: by mail-lf1-f49.google.com with SMTP id m12so28618222lfq.10; Tue, 23 Mar 2021 13:38:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=jE/A9gclmbUmROJZXhpIIoLGxsIzSsaypf7ZPzxLMyE=; b=sqs/R+w0xoh6hkkdC4A6BnkpHTdlH//5H7vz/sgeHD6+DFg2Snojwpea2E+9k2dTkc F75xSVz6E/62yHgVjLjs4yZg/LuIY36P5HYdpljyg+//UOCHih9bTxHMESEiec8Cs/cs Z2BVTUMAIpVQcC0cOT8/8TzSHGhgHr/Vr33VdHCzvjo02wo53QhtrZXL4Uu3gjGiML4l M+Z2H1iZsbJtRkzyJQn7WDP/ekuCAcEwHL9zP1lZCkUmBqH01VLJD+o6v2hXE5PxBSI/ rqQtvtBzSnaqcrYjewkGZ64e9FMI9jr1aRxxqskffpQtnQcJrgfIrefY79v/QV+kEhMr OohA== X-Gm-Message-State: AOAM530qvxY+WI1jAFnUlJOZbuvQfYWvwJpL5L2pBwzeGJLz/i9OaUK1 IZR5yqofNIR8gU7NoeGIojs= X-Received: by 2002:a19:e34c:: with SMTP id c12mr3578929lfk.555.1616531925662; Tue, 23 Mar 2021 13:38:45 -0700 (PDT) Received: from rocinante ([95.155.85.46]) by smtp.gmail.com with ESMTPSA id p18sm15968ljo.75.2021.03.23.13.38.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 13:38:45 -0700 (PDT) Date: Tue, 23 Mar 2021 21:38:44 +0100 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Yang Li Cc: bhelgaas@google.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/pci: use true and false for bool variable Message-ID: References: <1615794000-102771-1-git-send-email-yang.lee@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1615794000-102771-1-git-send-email-yang.lee@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Thank you for sending the patch over! > fixed the following coccicheck: > ./arch/x86/pci/mmconfig-shared.c:464:9-10: WARNING: return of 0/1 in > function 'is_mmconf_reserved' with return type bool > ./arch/x86/pci/mmconfig-shared.c:493:5-6: WARNING: return of 0/1 in > function 'is_mmconf_reserved' with return type bool > ./arch/x86/pci/mmconfig-shared.c:501:9-10: WARNING: return of 0/1 in > function 'is_mmconf_reserved' with return type bool > ./arch/x86/pci/mmconfig-shared.c:522:5-6: WARNING: return of 0/1 in > function 'is_mmconf_reserved' with return type bool [...] Looks good, although a few small nitpicks: you should capitalise the subject line so that it matches the style used in previous commits, and the commit message could also be improved in terms of style and also explaining what and why this patch is fixing the return type (aside of just addressing report from Cocinelle). Other than that, Reviewed-by: Krzysztof WilczyƄski Thank you! Krzysztof