Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1816328rwb; Fri, 2 Dec 2022 01:16:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf5DlNLEgPq1E7azW+zzjxG7CTMnjpVHDk+jJwqVKEs4xFHxAxJhASeo+jnKWjD0eRqXqMUP X-Received: by 2002:a63:dd16:0:b0:476:d2d9:5151 with SMTP id t22-20020a63dd16000000b00476d2d95151mr42619820pgg.487.1669972606235; Fri, 02 Dec 2022 01:16:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669972606; cv=none; d=google.com; s=arc-20160816; b=IcNC7QcZ5n8y1sjs5zEJIQQB+Q9CblCPYIUlj4MRd+UcCzLJAQhuHtK4rII2ydZ17Q +YOsKGQrw/5goR/TBkC41nOVZ6PhwM1spolYJ/ry40TjfhgcbOGmuqxiq0aUF/pkiPID RwXeMR8iX74vOnl9dpXjfZj0J0nv/YUbRhHB0ZDiHEeBF4Mdqj9Bux3KB5O9XEpyOXMf yrgUgM+OU69PyEgULI0QoOWFH2hbEnMgQJNH2e28ANgAPqL+5E2jxKPgNpLYGNKqUBuB K4aqPvnQlhS6axzcC6WW4VJjJUfe/OLutCTPVvRnYRAP6nOVbFiPezYTUfb4tddNc+4u LEWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=wtCc35EMrsGgNt1HPhXPZ/PW8H5z+COqCXJe4yt9koo=; b=T7kDBdKv2NwXuuvEPvNadVRLG21J9PBw8PAD9h6nw/5xz9gk73B7SO0J1leSqWHomz FT2mQSutRhlKNcMfZ0A5WEhdM6Gse/xKyV1KjWN8J0+XGjNRtiszNGdN3Y6CG1hSmnlA hONq/XwFkSphbPCMlFFdNf/zN00vRD2ZENABBf1CUjnnNembH0Ey1jZm54tdZRdCDtSz 58ylyVffl4GUjTlNRs0AVutN7rX3iw1LxQyvA+ypKg/FqVeeZ7VulNze0KtyQkHSmDRb wMgsT1NXmjKzIuxyD75kVMXfQp3govjSIuMXudv4lGfQ1zIIuoAiB3WdTysZs0TqLNNQ mpFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=qCmm+Aqb; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j7-20020a056a00174700b00573f637f57asi7453325pfc.238.2022.12.02.01.16.36; Fri, 02 Dec 2022 01:16:46 -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=@suse.com header.s=susede1 header.b=qCmm+Aqb; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232665AbiLBIz6 (ORCPT + 83 others); Fri, 2 Dec 2022 03:55:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232124AbiLBIzy (ORCPT ); Fri, 2 Dec 2022 03:55:54 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E4CB4E6A0 for ; Fri, 2 Dec 2022 00:55:52 -0800 (PST) Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 6354121C11; Fri, 2 Dec 2022 08:55:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1669971351; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wtCc35EMrsGgNt1HPhXPZ/PW8H5z+COqCXJe4yt9koo=; b=qCmm+AqbMBJeJkeZsNjhgVJMCpOgz8x9t+URndclu1VKzoSx8SsnnEYWJe4FlR6KbsqGBl gAQFNDeOhZLJNnH8UdYiWOlVrSnr/MpzwFf2t3m27td5gt6lb1zBUkrHkuxzV1YoQ+4Js4 WGHErBrtbRgOqk2ctKtGIaw1UwJ2gXs= Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 1646C133DE; Fri, 2 Dec 2022 08:55:51 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id BrgGBJe9iWPWNAAAGKfGzw (envelope-from ); Fri, 02 Dec 2022 08:55:51 +0000 Message-ID: <42cd5af5-b2fd-59ad-7de7-f14e2facac28@suse.com> Date: Fri, 2 Dec 2022 09:55:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH] xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource() Content-Language: en-US To: Harshit Mogalapalli Cc: error27@gmail.com, harshit.m.mogalapalli@gmail.com, Stefano Stabellini , Oleksandr Tyshchenko , Paul Durrant , Boris Ostrovsky , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org References: <20221126050745.778967-1-harshit.m.mogalapalli@oracle.com> From: Juergen Gross In-Reply-To: <20221126050745.778967-1-harshit.m.mogalapalli@oracle.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------uwdMa1iAv3egOVPQfJ0E0w6z" X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------uwdMa1iAv3egOVPQfJ0E0w6z Content-Type: multipart/mixed; boundary="------------HdAZBpjEv01GON4bPbJ6Wl6i"; protected-headers="v1" From: Juergen Gross To: Harshit Mogalapalli Cc: error27@gmail.com, harshit.m.mogalapalli@gmail.com, Stefano Stabellini , Oleksandr Tyshchenko , Paul Durrant , Boris Ostrovsky , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Message-ID: <42cd5af5-b2fd-59ad-7de7-f14e2facac28@suse.com> Subject: Re: [PATCH] xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource() References: <20221126050745.778967-1-harshit.m.mogalapalli@oracle.com> In-Reply-To: <20221126050745.778967-1-harshit.m.mogalapalli@oracle.com> --------------HdAZBpjEv01GON4bPbJ6Wl6i Content-Type: multipart/mixed; boundary="------------VErMBwayIgMAgiu0uLX3QHlZ" --------------VErMBwayIgMAgiu0uLX3QHlZ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjYuMTEuMjIgMDY6MDcsIEhhcnNoaXQgTW9nYWxhcGFsbGkgd3JvdGU6DQo+IEFzICdr ZGF0YS5udW0nIGlzIHVzZXItY29udHJvbGxlZCBkYXRhLCBpZiB1c2VyIHRyaWVzIHRvIGFs bG9jYXRlDQo+IG1lbW9yeSBsYXJnZXIgdGhhbig+PSkgTUFYX09SREVSLCB0aGVuIGtjYWxs b2MoKSB3aWxsIGZhaWwsIGl0DQo+IGNyZWF0ZXMgYSBzdGFjayB0cmFjZSBhbmQgbWVzc2Vz IHVwIGRtZXNnIHdpdGggYSB3YXJuaW5nLg0KPiANCj4gQ2FsbCB0cmFjZToNCj4gLT4gcHJp dmNtZF9pb2N0bA0KPiAtLT4gcHJpdmNtZF9pb2N0bF9tbWFwX3Jlc291cmNlDQo+IA0KPiBB ZGQgX19HRlBfTk9XQVJOIGluIG9yZGVyIHRvIGF2b2lkIHRvbyBsYXJnZSBhbGxvY2F0aW9u IHdhcm5pbmcuDQo+IFRoaXMgaXMgZGV0ZWN0ZWQgYnkgc3RhdGljIGFuYWx5c2lzIHVzaW5n IHNtYXRjaC4NCj4gDQo+IEZpeGVzOiAzYWQwODc2NTU0Y2EgKCJ4ZW4vcHJpdmNtZDogYWRk IElPQ1RMX1BSSVZDTURfTU1BUF9SRVNPVVJDRSIpDQo+IFNpZ25lZC1vZmYtYnk6IEhhcnNo aXQgTW9nYWxhcGFsbGkgPGhhcnNoaXQubS5tb2dhbGFwYWxsaUBvcmFjbGUuY29tPg0KDQpS ZXZpZXdlZC1ieTogSnVlcmdlbiBHcm9zcyA8amdyb3NzQHN1c2UuY29tPg0KDQoNCkp1ZXJn ZW4NCg== --------------VErMBwayIgMAgiu0uLX3QHlZ Content-Type: application/pgp-keys; name="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Disposition: attachment; filename="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xsBNBFOMcBYBCACgGjqjoG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QB4iFQLhJCdP1I5aSgM5IVFdn7v5YgEYuJYx37Io N1EblHI//x/e2AaIHpzK5h88NEawQsaNRpNSrcfbFmAg987ATQRTjHAWAQgAyzH6 AOODMBjgfWE9VeCgsrwH3exNAU32gLq2xvjpWnHIs98ndPUDpnoxWQugJ6MpMncr 0xSwFmHEgnSEjK/PAjppgmyc57BwKII3sV4on+gDVFJR6Y8ZRwgnBC5mVM6JjQ5x Dk8WRXljExRfUX9pNhdE5eBOZJrDRoLUmmjDtKzWaDhIg/+1Hzz93X4fCQkNVbVF LELU9bMaLPBG/x5q4iYZ2k2ex6d47YE1ZFdMm6YBYMOljGkZKwYde5ldM9mo45mm we0icXKLkpEdIXKTZeKDO+Hdv1aqFuAcccTg9RXDQjmwhC3yEmrmcfl0+rPghO0I v3OOImwTEe4co3c1mwARAQABwsBfBBgBAgAJBQJTjHAWAhsMAAoJELDendYovxMv Q/gH/1ha96vm4P/L+bQpJwrZ/dneZcmEwTbe8YFsw2V/Buv6Z4Mysln3nQK5ZadD 534CF7TDVft7fC4tU4PONxF5D+/tvgkPfDAfF77zy2AH1vJzQ1fOU8lYFpZXTXIH b+559UqvIB8AdgR3SAJGHHt4RKA0F7f5ipYBBrC6cyXJyyoprT10EMvU8VGiwXvT yJz3fjoYsdFzpWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------VErMBwayIgMAgiu0uLX3QHlZ-- --------------HdAZBpjEv01GON4bPbJ6Wl6i-- --------------uwdMa1iAv3egOVPQfJ0E0w6z Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmOJvZYFAwAAAAAACgkQsN6d1ii/Ey8V 0wgAkI0Bqdx5wFAHiOD4GBKxRcVeYVXMSWmGPw7UTTWSin6avteyKIT6RS8/bz+bWrKo/AugPsrR 4+HsjQdT2WBl2TowaOA/FtO5WqEzH+e6wwgokLyLO8crHdObvcuDhfpYviVUxrZNeBDnZhq89CC+ dKw606WDRtfl3lPfwh5/nKheZXSsO3Trfu4jgDZZsvalRjIBzOD01Jd3cy3ucjkvZUEA9J6qg8Za FMpo0J1WkoKOHgpsEl/4w56WezIgRzAFY5XWBMJWNEtaecEB9rENd3JhHggNX7KWJCIJVKdwZrsS mXCc0b4MlQUKUoq98OIlmRlp9Cy1c6HiRjjQo2jUtw== =7Ix1 -----END PGP SIGNATURE----- --------------uwdMa1iAv3egOVPQfJ0E0w6z--