Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp174484pxb; Thu, 17 Feb 2022 01:13:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNwSdsKVjHJSI+oPfUk2MGwHkY/n4ogMVIQz9h59MpM8763a3/ywdVcEV78TyrLdrhgWhs X-Received: by 2002:a17:90a:7f03:b0:1b8:8d90:b194 with SMTP id k3-20020a17090a7f0300b001b88d90b194mr6374514pjl.2.1645089203937; Thu, 17 Feb 2022 01:13:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1645089203; cv=pass; d=google.com; s=arc-20160816; b=devf1j5Ej2qfQ6m4ZHdmQxdSsR8/v22cLByleEiswcktqndJ9CdYGG55qil3jNjZ/K RRYs9PKj4/lMqpiguptG/cWN2YE9jUplxgi8FPWIJJolSYSaMUX6xxSn2IVZW7K1YXMi YZm+9bGsOFfDlKCrtPPriMbuaeLIWgrmIta/O+zakwSo04/u/YoXduTnG7rKAzvaHYz+ A84JzilVFpK4O6TRLZyiVoIJCY1tXgAotySF0zkafmCP+8xxx/8NnibtJkBxUYskNbgf jwqbo2NjsRtBOAhaU83cXgRi9JO153FJ8hSy71wNXxE3PyStgqv1yzFgM7hnV5KXtGzY XZBQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=+i4P+uNIm4chWabTmHbGJgaH42C5w511nFJ5n7/tJiU=; b=SMq63xu7VMJLMIpaxQVQIsBaeATDkyrNyoiZJ/DGCDn2iGNTJxtU+Vzoapk+GHK6cl pcYpHdhQTvSXu4+GrwnN3s5iLTDLXUdMM9EMXFcMY3FcUdfiCs5piQzXPKKgQj1UtFAL fmHPvCAyeyJagdhANBC9/oITpvKpJZcDp4E+m83spCGU5w/0FDOZcCjex2vbiv1tC8hr 5F1mqe11wtGJa+Lc4E2DFsEf0USiUH4MY/Acg1X8/kmImnDNY+FamS5XCBMBL9Ppt6PN Khs/j5w8BcqsCNDtoysKisr3Yid6j+GkzBV0HmCR3ELAI973Afsi1h1pIlA33UqBx+1n 0Jdg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vmware.com header.s=selector2 header.b=G4KhtTkW; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=vmware.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a20si334595pjh.162.2022.02.17.01.13.08; Thu, 17 Feb 2022 01:13:23 -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; dkim=pass header.i=@vmware.com header.s=selector2 header.b=G4KhtTkW; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=vmware.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236032AbiBQHJQ (ORCPT + 99 others); Thu, 17 Feb 2022 02:09:16 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:38088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236022AbiBQHJO (ORCPT ); Thu, 17 Feb 2022 02:09:14 -0500 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam08on2083.outbound.protection.outlook.com [40.107.101.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C64E298AEA; Wed, 16 Feb 2022 23:09:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nDTOuI0XcRSp3gw/YTmMgSZ0QR28jWshXVriliHEFVuTJ6H486uxMVcO+QFMD1++aqNs/zFCRSeeiDLJDSXB+yk4yngr+Lb68tsMLmkg3B2rJiNsY2QYqF96tdVt4PYEoCBg2vm+3OZ7zGgx+X28uAvQJ+oXdITWZo6HP4y/UPizfvsIkQaS2mFZSch1jjo8J/0oZj7yAL84euNHtQ+Q/mnh1Q2BNsrEspOo1+xLGpXvb5GwM0PXc2pWDE9OiZgrvPCH3Xbjpf/pSrS0Srz2s+bwrfNHCQ+Xe4yv+Hvy0CugcA1yqo5EhNpWyBkYrYClghdmbwSh/omVgX9HQZ2GEg== 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=+i4P+uNIm4chWabTmHbGJgaH42C5w511nFJ5n7/tJiU=; b=R2HcvpU5+XXj1L6T+//uufHOblYAUiSFc36+dsWftFL+KoBBiuBF6CgKC1MnQ0R6BQsFr63Hck1zdUKsKYTCVJqeeV2n/ptjIWkt1uuLJR9TwUb8WgQBURNdPwWI7cYdSBj/L1KDZFFN6YurMPzTrcqkgjQhduyRBM6R5kryX9gf8RD5YW1Rd2DH3TcTtdv7hUpER/eCBRgS+680rsFhATjFTkMp0jeRa6BPnavQEbPUrGU4/3YkwOJPSqOxjSEkylynQS29Ie3a1QnsboGE1VS7ynFV4ThUzQJozKPAhsb54g2ESsAHHD33mk67JY612Sxj6MI9rqpZ9Tcwa4nqtA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+i4P+uNIm4chWabTmHbGJgaH42C5w511nFJ5n7/tJiU=; b=G4KhtTkW1hfEaPV52qjmHlbgR3sAW7i7DjXHrHUVj8ySeqxRUJyiVLZXdaAZNijz9JcvPq6rg8w/8WXdfePWZscVGnccdpwd6tiMbcLwqtAVdlgC21nAFrQfJMxTEwyLEXS1VZAT/jyDnoBOupAZ8tIIppDe4qKLyjMOAqlvNvY= Received: from DM6PR05MB3962.namprd05.prod.outlook.com (2603:10b6:5:8a::15) by BY3PR05MB8068.namprd05.prod.outlook.com (2603:10b6:a03:36b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.7; Thu, 17 Feb 2022 07:08:58 +0000 Received: from DM6PR05MB3962.namprd05.prod.outlook.com ([fe80::54f4:cdb0:1f3c:c4e1]) by DM6PR05MB3962.namprd05.prod.outlook.com ([fe80::54f4:cdb0:1f3c:c4e1%5]) with mapi id 15.20.4995.015; Thu, 17 Feb 2022 07:08:58 +0000 From: Vishnu Dasa To: Christophe JAILLET CC: Jorgen Hansen , "arnd@arndb.de" , "gregkh@linuxfoundation.org" , "acking@vmware.com" , "dtor@vmware.com" , Pv-drivers , "linux-kernel@vger.kernel.org" , "kernel-janitors@vger.kernel.org" Subject: Re: [PATCH 1/3] VMCI: Fix the description of vmci_check_host_caps() Thread-Topic: [PATCH 1/3] VMCI: Fix the description of vmci_check_host_caps() Thread-Index: AQHYHs1e9+zpOx9Ht0ud6aMZ3l07FqyXXNqA Date: Thu, 17 Feb 2022 07:08:57 +0000 Message-ID: <7844DB64-F8A6-49C2-A0A7-0A9AA634BFDA@vmware.com> References: <7f7ad8c171566f6f8716c3451b9ddc2e83fe003f.1644531317.git.christophe.jaillet@wanadoo.fr> In-Reply-To: <7f7ad8c171566f6f8716c3451b9ddc2e83fe003f.1644531317.git.christophe.jaillet@wanadoo.fr> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vmware.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e271f559-81ea-4038-dcd2-08d9f1e45dec x-ms-traffictypediagnostic: BY3PR05MB8068:EE_ x-ld-processed: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0,ExtAddr x-ms-exchange-atpmessageproperties: SA|SL x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HwqqyROlg58Gcu5CqcO8utEglTvR6EnW1VdlVK3vkjdws/NQWESIEvKu12qYuFsxuNfd1L5SZPpzA9hebs9xIuU8okruqLdBj00c2vZcZURjYIxI9jtK9l59Bg+9wtXJnPhpCFLKbnSVYVI2M6urTKB7n0er+C4MxBuZQoHUJf6/n5502OXW3bUIvHBfOHl5q4WBp2hmy1SXN9CuO52L9/AxIVy/YZhzRtUew9N4fBydNrQ41X9Ya5O4IDtnhv2qRU/etbGcKLa95o0veAITs5k5wmGH0hOIEco5ZDj755qIZGBtWpWfJwgjbgPTeP7hRKq6ET747pUoeLZxVqOhIMUHLm4JxB5nHj4Zp5OQpiF1Zr+jV/oSHzQiUPaFiJ5XaoDVEFmHql5TIc8HWl4cgNn1L2bGqzb3JVTwf+ag3Tsj2wIR1RoQ+dXNSB/DNdZFRIamZ8n3Rd60ULA8J64rZNcuGM+KsdOL2HncTm0e84IVQnIyQDJnk/4/iO5mul037tic7FYlIbWV0kN/bqbp8ZPO6OPbysddxH8Ees0oty0NhNapF/96pP9eNYzTOgOAsACRaXtEia4w19Nw3oAy3V/3jaVDrbc4I8pUov3fpdXWviytMk6KVHAlNLwnuIEYYnbP8gyc0gKxVQSr/NQXu5bPk9o7ftMvOk+FOWk5i2QOspKj/x0SLWE5/88d2cT9VlLhg39W1iJAK3fO3qqg71A/vtR4iWK4X9BeYjwE4/gRQosaPrP0Fo9bTPsCpRp4 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR05MB3962.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(66946007)(91956017)(8676002)(4326008)(122000001)(66446008)(64756008)(66556008)(66476007)(76116006)(2906002)(8936002)(6506007)(71200400001)(186003)(86362001)(38070700005)(83380400001)(316002)(6486002)(36756003)(6512007)(33656002)(53546011)(38100700002)(508600001)(6916009)(5660300002)(54906003)(2616005)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?73d1x2/hsdpmSGwtxF7SLm0q31bWBQ5+YSX6zs10b87Id0/s7NxutalQ0lE4?= =?us-ascii?Q?zyrDYl9f1kNyAw2gWP2IzY/07T6YwUSBh3X3WTF6vYNYHtOZ2+YcNO9LgRG3?= =?us-ascii?Q?S+fG9I4HnQeCCAfAYq9CGXJ6nAdArgxL5LcgXBoIIrW5XDFfEf9lCxhMLSh7?= =?us-ascii?Q?3H3EIHBtASRBlrUK3tUWO8MEWKepTHAjOUFWbI10fs1Cj1PNaElaXeJumKMD?= =?us-ascii?Q?ySvY6tQT3iyzxeJMTmyJpeWaSComk0WEYEVEtT2qeU9ozYmD7iGARGoCLMTw?= =?us-ascii?Q?vulgPxfGtjsoqlEYCDy3bEFbsiEaba0dYp8UU+W3NVwwHGljsbNrmIYKKS79?= =?us-ascii?Q?XoQH/ShPWHugV239pgoMb7RupMNQuSbQY8W8n2weV4j+HEGQpXNFC1RFLA+C?= =?us-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FqjFujKbLUuip94LX3p1qYJf4FrYwKDeJPS?= =?us-ascii?Q?oCSQfW3Cllri8DcSSL9ANrV9enJa2Xkc14wb61OARoM/eX4z+bL5JLtcNhbu?= =?us-ascii?Q?0VeqUyNykCdEAw4gLdw6MmthqE0QlV6KWgdiET8rKGjqvB4hCqFyVPZwcMzk?= =?us-ascii?Q?gbOjEpmtH9bxfY26fCzNlDGXT4tZKPsoSrA4q63JCeeWcYP+sPCO+dD0uAUU?= =?us-ascii?Q?+I/PCY+pVhaBysBsJM/13iWbg8qj7auAKmi0lQNo33SWVsR3b9R7qQ8jZotj?= =?us-ascii?Q?mYPWGxFgRWsV+ORLyqf3tUo6+fPHjlq7+72tOks/uO9zrV5cAahYey5Z+VY6?= =?us-ascii?Q?U5o8BQH+a+xllaoxLaI4aWw5AlR5e7Fu+hyzaH6QGq7SlMy0iwGwRD2Xv/fp?= =?us-ascii?Q?v30MF0z+kfAy/B889BN6uvoNjcA=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: <018A86F78669CA48BA7D0168EFFD25EE@namprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR05MB3962.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e271f559-81ea-4038-dcd2-08d9f1e45dec X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Feb 2022 07:08:57.9027 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: I1SiB3iCflS2JmBgzknMu+kR6fRZqwPyQa6EHB/A3WxskJmnNTesrM+MNjjol5A2zYO0fUKuH9k7bVxt3zTBYQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY3PR05MB8068 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 > On Feb 10, 2022, at 2:27 PM, Christophe JAILLET wrote: >=20 > vmci_check_host_caps() doesn't return a bool but an int. > Fix the description accordingly. >=20 > Fixes: 782f24453536 ("VMCI: fix error handling path when registering gue= st driver") > Signed-off-by: Christophe JAILLET > --- > drivers/misc/vmw_vmci/vmci_guest.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/drivers/misc/vmw_vmci/vmci_guest.c b/drivers/misc/vmw_vmci/v= mci_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, >=20 > /* > * 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 hos= t, > + * an error code otherwise. > */ > static int vmci_check_host_caps(struct pci_dev *pdev) > { > --=20 > 2.32.0 >=20 Thanks! Acked-by: Vishnu Dasa =