Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3630671pxb; Fri, 11 Feb 2022 04:27:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJyMYvDc6XPTLxGzwSPUYdxQbAD66FsgnblKi1NHq30aYod1C97i2CM/4AYVp4k6BtS7GakE X-Received: by 2002:a17:90a:741:: with SMTP id s1mr94256pje.161.1644582429123; Fri, 11 Feb 2022 04:27:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644582429; cv=none; d=google.com; s=arc-20160816; b=012DkLEMwPkC0lz4B3Nzz5fhnkrqfRmk2UCiP6jfr5Bmg2KWhkqbf4Ct7RxAkL3B/r RT5aRuIzDaLEmCmKbvktErewPviKBAGWswGvACC8fn40+kAOe2GTyb8vCEFXmmQODWXm NytiQmCrMyMYvFfIOPwyXiOrLPO/TOkciKe0nRIZwikFHHLqGa4fzDNdwI2zEnO0W2Et ZjexK9FhGSjC1GuYPP65yF4oWW3VVhQ4SvYb4wrP1SPfX2QxjInASOPuakt7/4EWBE+u aFTAhkRNGMSFikUBnaDsTUaj3BPeEeEETi0JGn1q5/KeAYT7sD4oatU9roH8747i44bw oRSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=QYiLHaU18/gCa9rEfWa0hGR4sikzmQnaVqpsXnDNSa8=; b=ZFt9lr2z1syrLRueYvpqqy7M9OSBgEfAKQz2lRr2hFgbmHF3bdI3vNLW3mQLIHigQD WJxvc4Jb8+bnOAWgpQvCsZ6M2llyfppvOJoHi0qKnJAFeuMYTMXRi0P8DMSrs+Ov9ybT LHj4+mIt+QrYgoufVoiHOafthwvXinkysOxawXFl1G+H+PXef/9kel7ZA07EHsKUJa9L WQenaxa73u/LeCwOB8WdWvHXKLkCm+YFG2Oh42SBmsy0ZewGEsoOf1u+Bmjx9ttGY+k+ JqdaKOJm06Jl2JT+v/9XVMyn6ld9U0GduIm38bUneMb4N2OpHiWYDBv9c58oZE0nJj3/ f9kg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f17si4385925plr.420.2022.02.11.04.26.54; Fri, 11 Feb 2022 04:27:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344946AbiBJW1V (ORCPT + 99 others); Thu, 10 Feb 2022 17:27:21 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:51888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344939AbiBJW1T (ORCPT ); Thu, 10 Feb 2022 17:27:19 -0500 Received: from smtp.smtpout.orange.fr (smtp03.smtpout.orange.fr [80.12.242.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90E8F262B for ; Thu, 10 Feb 2022 14:27:18 -0800 (PST) Received: from pop-os.home ([90.126.236.122]) by smtp.orange.fr with ESMTPA id IHuGnjGRR9r2MIHuGnUs0Z; Thu, 10 Feb 2022 23:27:17 +0100 X-ME-Helo: pop-os.home X-ME-Auth: YWZlNiIxYWMyZDliZWIzOTcwYTEyYzlhMmU3ZiQ1M2U2MzfzZDfyZTMxZTBkMTYyNDBjNDJlZmQ3ZQ== X-ME-Date: Thu, 10 Feb 2022 23:27:17 +0100 X-ME-IP: 90.126.236.122 From: Christophe JAILLET To: jhansen@vmware.com, vdasa@vmware.com, arnd@arndb.de, gregkh@linuxfoundation.org, acking@vmware.com, dtor@vmware.com Cc: pv-drivers@vmware.com, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH 1/3] VMCI: Fix the description of vmci_check_host_caps() Date: Thu, 10 Feb 2022 23:27:15 +0100 Message-Id: <7f7ad8c171566f6f8716c3451b9ddc2e83fe003f.1644531317.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org vmci_check_host_caps() doesn't return a bool but an int. Fix the description accordingly. Fixes: 782f24453536 ("VMCI: fix error handling path when registering guest driver") Signed-off-by: Christophe JAILLET --- drivers/misc/vmw_vmci/vmci_guest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/misc/vmw_vmci/vmci_guest.c b/drivers/misc/vmw_vmci/vmci_guest.c index aa61a687b3e2..1a1858742f75 100644 --- a/drivers/misc/vmw_vmci/vmci_guest.c +++ b/drivers/misc/vmw_vmci/vmci_guest.c @@ -253,9 +253,9 @@ static void vmci_guest_cid_update(u32 sub_id, /* * Verify that the host supports the hypercalls we need. If it does not, - * try to find fallback hypercalls and use those instead. Returns - * true if required hypercalls (or fallback hypercalls) are - * supported by the host, false otherwise. + * try to find fallback hypercalls and use those instead. Returns 0 if + * required hypercalls (or fallback hypercalls) are supported by the host, + * an error code otherwise. */ static int vmci_check_host_caps(struct pci_dev *pdev) { -- 2.32.0