Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3895012iob; Sat, 7 May 2022 19:29:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvADZTUun2GkAQ5IInwQzrRaCbvkBiKdqeuhcluvINsD5teYI3YJ10Cf5/9aHHKgh+kYSJ X-Received: by 2002:a17:907:3e04:b0:6f5:1132:59de with SMTP id hp4-20020a1709073e0400b006f5113259demr9701702ejc.755.1651976987304; Sat, 07 May 2022 19:29:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651976987; cv=none; d=google.com; s=arc-20160816; b=dd1ID1eCUEX1UtChKugUrFNF0Cgr5FDAIJLPnIm2FUken6YLcs1zRuhLAKS6Cf8jnx uQF8rZeMNVOPIbiJaY6zwUsUfH2JtwOaIpA8UN4De42tnJSwCpCDZ7XeFhcLIywRxyTs VpEo96k21OfCmpBRbXgSe1hZSU/ZIqdsxGWHQY0qv8vBs+Mcqn53rViwy494fqP5AUfB hRcMJqZJbSFUK+JvBX8RdK67NiBUqSpic8xBTuRHridtFDHQQtNBjWr6mIHMPa9fipHk Vb3p0x5hFOCtr+nw+pRnFv6ZPAsD9kDVw/JIDs1cFXC68Mc053XCMICaLmH+VLUPohCD TKWg== 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=Xi+lullcC1G3viPhuIYIpGZz5+FfQixSssHMUGGTaQw=; b=vX/kySx1v/CIZkUm765uzO76poa1OyBmtlh+E8qYqxvf1JFHJMge8jNjc12aNadlVK S5e1TPSYsWpbLzw6AQjdfYVPuxDYzad5v6SfZUCUb5YcqDiqcAjcuLZHc5iPXYY4tILa pp9ofOPzi4xyKiZZeHQbl0HmYkCEUyMgL5EPBLYtCbQGRtGiB4IW6sYV6b7mxjncOW/D 5DTSRMSfLXVr8ercOnkJF8byVxZXrHkiYLqb5+VtbMO//oyP+Mw9veDSSYWZ8rLrMOn3 st7mbahWf0s0vBlR1yHDRIxDvx+r4DodWWmr5mtbMPt7+zey/36I+y/G2O8OZQygMPUM YZDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=TBATxhEH; 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 b15-20020a056402278f00b00427cde42099si10230619ede.37.2022.05.07.19.29.13; Sat, 07 May 2022 19:29:47 -0700 (PDT) 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=TBATxhEH; 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 S1357826AbiEELj7 (ORCPT + 99 others); Thu, 5 May 2022 07:39:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357783AbiEELju (ORCPT ); Thu, 5 May 2022 07:39:50 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC88735849; Thu, 5 May 2022 04:36:10 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (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-out2.suse.de (Postfix) with ESMTPS id 78EE11F8C9; Thu, 5 May 2022 11:36:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1651750569; 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=Xi+lullcC1G3viPhuIYIpGZz5+FfQixSssHMUGGTaQw=; b=TBATxhEHU3RaglYNLTn9xroRm26B6afODuU806a+Ra8i4m4cFBAvmMQ+fWhR6ueD113yBP ZS3H/x4silNQoUtOErYzI3pd5IC4k5BKRGko7gVuAUleNIHYmRIIFvEpcx7bREJ24BY2t7 kdZwyjD3TuFek7vZnQC1RrJ7Sp8iIeE= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (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 imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 0828613B11; Thu, 5 May 2022 11:36:09 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id zjFeAKm2c2ICaQAAMHmgww (envelope-from ); Thu, 05 May 2022 11:36:09 +0000 Message-ID: Date: Thu, 5 May 2022 13:36:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH] x86: Function missing integer return value Content-Language: en-US To: Li kunyu , pbonzini@redhat.com, seanjc@google.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com Cc: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220505113218.93520-1-kunyu@nfschina.com> From: Juergen Gross In-Reply-To: <20220505113218.93520-1-kunyu@nfschina.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------vJmx3kxvh3G3HQt38CN4F1fg" X-Spam-Status: No, score=-6.9 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,T_SCC_BODY_TEXT_LINE 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) --------------vJmx3kxvh3G3HQt38CN4F1fg Content-Type: multipart/mixed; boundary="------------LBFTFTK2biz2i900novXUsHn"; protected-headers="v1" From: Juergen Gross To: Li kunyu , pbonzini@redhat.com, seanjc@google.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com Cc: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: Subject: Re: [PATCH] x86: Function missing integer return value References: <20220505113218.93520-1-kunyu@nfschina.com> In-Reply-To: <20220505113218.93520-1-kunyu@nfschina.com> --------------LBFTFTK2biz2i900novXUsHn Content-Type: multipart/mixed; boundary="------------kJTMEDXunwpBlXxPel6htA1H" --------------kJTMEDXunwpBlXxPel6htA1H Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMDUuMDUuMjIgMTM6MzIsIExpIGt1bnl1IHdyb3RlOg0KPiBUaGlzIGZ1bmN0aW9uIG1h eSBuZWVkIHRvIHJldHVybiBhIHZhbHVlDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBMaSBrdW55 dSA8a3VueXVAbmZzY2hpbmEuY29tPg0KPiAtLS0NCj4gICBhcmNoL3g4Ni9rdm0vbW11L21t dS5jIHwgMiArKw0KPiAgIDEgZmlsZSBjaGFuZ2VkLCAyIGluc2VydGlvbnMoKykNCj4gDQo+ IGRpZmYgLS1naXQgYS9hcmNoL3g4Ni9rdm0vbW11L21tdS5jIGIvYXJjaC94ODYva3ZtL21t dS9tbXUuYw0KPiBpbmRleCA2NGEyYTdlMmJlOTAuLjY4ZjMzYjkzMmY5NCAxMDA2NDQNCj4g LS0tIGEvYXJjaC94ODYva3ZtL21tdS9tbXUuYw0KPiArKysgYi9hcmNoL3g4Ni9rdm0vbW11 L21tdS5jDQo+IEBAIC02NTAwLDYgKzY1MDAsOCBAQCBzdGF0aWMgaW50IGt2bV9ueF9scGFn ZV9yZWNvdmVyeV93b3JrZXIoc3RydWN0IGt2bSAqa3ZtLCB1aW50cHRyX3QgZGF0YSkNCj4g ICANCj4gICAJCWt2bV9yZWNvdmVyX254X2xwYWdlcyhrdm0pOw0KPiAgIAl9DQo+ICsNCj4g KwlyZXR1cm4gMDsNCg0KVGhpcyBzdGF0ZW1lbnQgaXMgbm90IHJlYWNoYWJsZSwgc28gdGhl IHBhdGNoIGlzIGFkZGluZyB1bm5lZWRlZCBkZWFkDQpjb2RlIG9ubHkuDQoNCg0KSnVlcmdl bg0K --------------kJTMEDXunwpBlXxPel6htA1H 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----- xsBNBFOMcBYBCACgGjqjoGvbEouQZw/ToiBg9W98AlM2QHV+iNHsEs7kxWhKMjri oyspZKOBycWxw3ie3j9uvg9EOB3aN4xiTv4qbnGiTr3oJhkB1gsb6ToJQZ8uxGq2 kaV2KL9650I1SJvedYm8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AU32gLq2xvjpWnHIs98ndPUDpnoxWQugJ6MpMncr 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----- --------------kJTMEDXunwpBlXxPel6htA1H-- --------------LBFTFTK2biz2i900novXUsHn-- --------------vJmx3kxvh3G3HQt38CN4F1fg Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmJztqgFAwAAAAAACgkQsN6d1ii/Ey+N HggAjUUfxj2qj/7Cgh7LX+mMvn64iE+9dDMdZcDjMahAzTHxgSPJmt2aZR1XJBqD0BXiJwPQYHBU azXDWqr85KpVI5phfc1/IeNUvCUNC7w84XqyCJ4oTrF+bG1G7GihoPlaK8y0hfvaFfAJRHXsL4Xy mVCWRYt7ctQgY8Vdn/VJsTElS7k0epXv3T2sQeSKL4UGseTL6WdAmhXIQFQS4AY8fZXPXPn4G0s6 g0Kx7LIFDNWqE35LwrpXybJTuzlttLXPkd77AimugLWB0AdkCcHB0AjY738NhUay6eR4d9egNnbC +qJ64VEd/aUOfMKCNmozhbluWlrsKSb3ngRfzT/2mQ== =4ZmY -----END PGP SIGNATURE----- --------------vJmx3kxvh3G3HQt38CN4F1fg--