Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp887748pxb; Wed, 27 Oct 2021 14:30:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyS1LtpkSUw3jzd40Enk9iNTiExbxPrtS7JWX98+gS4JXzpOGR+IgfLXFxSbK7sqXtpl7a X-Received: by 2002:a05:6402:28f:: with SMTP id l15mr519279edv.272.1635370221295; Wed, 27 Oct 2021 14:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635370221; cv=none; d=google.com; s=arc-20160816; b=GpNrVNOGyZ2fLiWgW94ei1w7jatXdF1Ayz7P/onkuKNyZB+gXsjhzmXeQY07iVMxoP 9RCPG9z+YCIMN9Vg5H9vmsPel337mnl1sjxVLZsG/KeQxCmdh8EI3Pi4L7UVLt4LRm3Y qsOr4mx3+oWqb+1EeqaE6fEJbC8WKUnSEGhWNKTfutap0odnoq5WihZFeTZidqWQzXCj e/jzu5qAt2a7To7MA86Za45vNvU865dsEKR36DxXKqNkwbdN/ydDH4Z2ib+xMOsWlvf4 8IgGrhJUl0fOQCTrX3CDkQdibI/hO27makR+GR27rQ4LRzjVRBjG0gZArWsVGgW+yOMh xd6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=uhdqI/5fJKqafKg8E+s9R22dHtZ3+dwppaLBsR5Vfb8=; b=0KVie2b1BRD82rsNQHW4VU/Uk8xIPKcueSMRNrvAs+r310kBiYjGl9X5w2xxf14rhW c+nKAysJLhPjfxe/Y23WRkFnetZ68FL8EylIrmqBnF5GNI9+YJlNiHN5B29iaNkwHYmM LhCF9O8Bp3aCYMO1klTLNTSfgkBqzaNILSnypxYjZ5DmGmV09zKNnCg20xPRP8XYgb8J o50OS1irB0b7EUVCp2nWmrZL4Z9BXjCJmMKohqg2gS1zcglomIUTdDhCCdfUQWFjXYCw RQWxq7OtCHVK0jbwaV6ziP6kmkE6Mk32ABDCHAjJAfNcFV5ZN9SO68JDt82hoU1aOBdW sReQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=HFrNARvi; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o3si1114981edj.296.2021.10.27.14.29.57; Wed, 27 Oct 2021 14:30:21 -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; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=HFrNARvi; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239530AbhJ0Qau (ORCPT + 97 others); Wed, 27 Oct 2021 12:30:50 -0400 Received: from smtp-fw-80006.amazon.com ([99.78.197.217]:61600 "EHLO smtp-fw-80006.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238295AbhJ0Qau (ORCPT ); Wed, 27 Oct 2021 12:30:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1635352105; x=1666888105; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=uhdqI/5fJKqafKg8E+s9R22dHtZ3+dwppaLBsR5Vfb8=; b=HFrNARvigs5xUFe4Mrb4TXTae3HHrKtrbHRWY8A7brDxUIBMq4BMJFDf SoaU8ZVrrhnS8h1b2JYOoFDyioFv1TRGj1r7LwRowcQXydV73HGXA9I7q g0pQbbzVVex8WRaN0RXoYO7Wf5crSlxbRpyRTpXQXztPWz0SKn7RkzN7O Y=; X-IronPort-AV: E=Sophos;i="5.87,187,1631577600"; d="scan'208";a="37342986" Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-pdx-2c-d9fba5dd.us-west-2.amazon.com) ([10.25.36.214]) by smtp-border-fw-80006.pdx80.corp.amazon.com with ESMTP; 27 Oct 2021 16:28:16 +0000 Received: from EX13D16EUB003.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-pdx-2c-d9fba5dd.us-west-2.amazon.com (Postfix) with ESMTPS id D919342832; Wed, 27 Oct 2021 16:28:15 +0000 (UTC) Received: from [10.85.98.65] (10.43.162.153) by EX13D16EUB003.ant.amazon.com (10.43.166.99) with Microsoft SMTP Server (TLS) id 15.0.1497.24; Wed, 27 Oct 2021 16:28:08 +0000 Message-ID: Date: Wed, 27 Oct 2021 19:27:59 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH] nitro_enclaves: Fix implicit type conversion Content-Language: en-US To: Jiasheng Jiang CC: , , , Greg KH , Kamal Mostafa , Paolo Bonzini , Stefano Garzarella , Stefan Hajnoczi , "Vitaly Kuznetsov" , "ne-devel-upstream@amazon.com" , "kvm@vger.kernel.org" References: <1635241504-2591251-1-git-send-email-jiasheng@iscas.ac.cn> From: "Paraschiv, Andra-Irina" In-Reply-To: <1635241504-2591251-1-git-send-email-jiasheng@iscas.ac.cn> X-Originating-IP: [10.43.162.153] X-ClientProxiedBy: EX13D48UWA001.ant.amazon.com (10.43.163.52) To EX13D16EUB003.ant.amazon.com (10.43.166.99) Content-Type: text/plain; charset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