Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp707984pxa; Fri, 14 Aug 2020 16:06:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQLCsBv64fLmEwWQD6FIvyhbMkcJY/q6i7gLwKW9LS9MlkEag3/1wIOhY7ztTFvWknBxVC X-Received: by 2002:a17:906:57cc:: with SMTP id u12mr4975181ejr.422.1597446383337; Fri, 14 Aug 2020 16:06:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1597446383; cv=pass; d=google.com; s=arc-20160816; b=YHjx/vQ39p1W4vdqq5Mqxlo4P4xqB6n5MK9ZgcAUoFoMSKxrqwPBYwxGqPBgJVLWY2 Dr1HVFWowkc5mz9ZxQacr1WrGJJY9JHRYPF0YdZFmwLbxydHKWCYTl3lAF0D6PEsKuj0 lBHrdnvU5xmnD6XPM31zFWUAHCeLongLHWE379+NaGiHG+MKumegtxFy9HWHmg8PgNY9 e9YKUFQVicKHGfy6rlMKvVJNDKRQ1jq96R8FG2XMXurVNThrkFn7RMjbpyp3bMbFUo1W 0/Q3Ne5UKOyS8hLpAf2h5KVIFQLP96o6ZKvTd25XAis6e24CEIdq2U36W512C7GE1kaS rWGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:ironport-sdr:ironport-sdr; bh=wGjKIYh2MkKStzQgtUxKeRMmPzuXeAHwOfLWyTA/tmk=; b=fGBCo0IPdw5Rkn37iXqZD0G2UiCUZ/Xw/j1zfmxBcJf7ijyLxf4vrlHHfljAIO0019 YsZkaBO6fZnRJXxyVecxofrhfHvOEkctPX4BXQFa0aSmnEKMoKyCLZthvU6rnS1iCRHR H7x+t+6Ray5nZU35REG0xpEkfaFx3LYFzKONLSzOKEbrRrwm4tq/XLoFvEdWFmf50AhO ZoAFw1ZU+4BRRq2JXT+7IJ99JMjVzAjSQFOoa93N4Tj0sKypspo5iiQQjV+BE+Vugr0a Ia4uxvliy9Dr2APdpAo0i/LPKbolI9fNvNi52LDbmgRhBqFidZGUWScql2P7aT+r9XLw 78VQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=n4RjppD3; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si6176562ejc.530.2020.08.14.16.06.00; Fri, 14 Aug 2020 16:06:23 -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=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=n4RjppD3; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727927AbgHNWw0 (ORCPT + 99 others); Fri, 14 Aug 2020 18:52:26 -0400 Received: from mga07.intel.com ([134.134.136.100]:19123 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726213AbgHNWw0 (ORCPT ); Fri, 14 Aug 2020 18:52:26 -0400 IronPort-SDR: lFaJ2iTa6tZwj5+ngm+FPqY8rAvKVC8AxTIRR2kF+uS5Ml3ig0S8Ih5dm0GA5eKhrRfZgM/001 +Is2SZUMCYtg== X-IronPort-AV: E=McAfee;i="6000,8403,9713"; a="218826061" X-IronPort-AV: E=Sophos;i="5.76,313,1592895600"; d="scan'208";a="218826061" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2020 15:52:24 -0700 IronPort-SDR: QtYe4ERaVseq+kun6wFxk7mE42lBWQgAOOMGQ/RKzYPpmMR/E9NRIKE6J+A0D+pB2U5eTREaSG ZxdaSUyW4VUA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,313,1592895600"; d="scan'208";a="440253926" Received: from unknown (HELO fmsmsx605.amr.corp.intel.com) ([10.18.84.215]) by orsmga004.jf.intel.com with ESMTP; 14 Aug 2020 15:52:23 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 14 Aug 2020 15:52:23 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 14 Aug 2020 15:52:23 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.177) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 14 Aug 2020 15:52:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=To0YaHOOomsZhiQeWcxHNRwWsI+EXy1N6Hcqb2qn9ycO3VGVKOYZnXj2bmwpd1f+IFM50w0gwQzMD8JpZfiSYF2S/YbZElTwLFagzDv9+P0NlvCTyu86a1j2dvzrBR0JyhP94UGIjP3WJ8Fz2F/G+oIhdNzilmhsojkIb+3Oj7Np+ayDHcb9D58RqH0osS4phEZTE69Qtg+9eEMi5eeC5N1COuvvrzgJVPpwzCwPOy2VJz6g0/uabsO5I7s9oKhEputWzlxVSD58QXzlAcywnQninhyH0OOBWyQES0HQ4gCaiGJEUidOZxHJKRh7V6EAYVPzDmnETWG/qDA09netyQ== 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-SenderADCheck; bh=wGjKIYh2MkKStzQgtUxKeRMmPzuXeAHwOfLWyTA/tmk=; b=Bpw5dQ9Nk5XhMpXid5zzJHO9sMdHaXpejQ9wGjFvZly8aVvVAkax6EgWUaJCa+vcyRZJHCpWaqdSUO4a8F52er2LvcKckKoqMijfsXw4ePBdYQKE0XO5dFVpEpwIFOvPjEuqve3vK5HS+z6VN9Snfy9cvoH0+cYR7TdUOjYN//YF4lRBL4f8B1F+SqP8cGKUTT+EW/qN3aqB2q38TZZU6urvN74V4T0FJmBQfBoZt/SrpkBMibIOj6DifXCBka9I+07ke7AiMJ+wWKcQr1smP64PYTk5vemACncpUkWv6M13js7kfbcHBrlI2ipTNVrGtO8RUzfo6Xpb45cmrFinuQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wGjKIYh2MkKStzQgtUxKeRMmPzuXeAHwOfLWyTA/tmk=; b=n4RjppD397tWb8PWRfhm41k6ik572CTqRFe4zsu1oRRJfmSHX89tMaGfY2Mp/sHPPASozmnIDw1bkRJTbxrYXamQLpxjxyluYr9jHVJmTea9f1PLuJy1Mn0n/KZ6mwOzNIh6/MR0UhtmbI6w2RyI+mKP0xSyxfX/mj1cnRqPLnA= Received: from BYAPR11MB3448.namprd11.prod.outlook.com (2603:10b6:a03:76::21) by BYAPR11MB3477.namprd11.prod.outlook.com (2603:10b6:a03:7c::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.22; Fri, 14 Aug 2020 22:52:20 +0000 Received: from BYAPR11MB3448.namprd11.prod.outlook.com ([fe80::1084:a79c:5a4f:f115]) by BYAPR11MB3448.namprd11.prod.outlook.com ([fe80::1084:a79c:5a4f:f115%5]) with mapi id 15.20.3283.016; Fri, 14 Aug 2020 22:52:20 +0000 From: "Verma, Vishal L" To: "Williams, Dan J" , "rafael@kernel.org" , "wangqing@vivo.com" CC: "linux-acpi@vger.kernel.org" , "Jiang, Dave" , "linux-nvdimm@lists.01.org" , "lenb@kernel.org" , "linux-kernel@vger.kernel.org" , "Weiny, Ira" , "rjw@rjwysocki.net" Subject: Re: [PATCH] acpi/nfit: Use kobj_to_dev() instead Thread-Topic: [PATCH] acpi/nfit: Use kobj_to_dev() instead Thread-Index: AQHWcRxpj/rghooL6kKeKlMDqnI2Vqk3vQEAgAB75oA= Date: Fri, 14 Aug 2020 22:52:20 +0000 Message-ID: <4e23dc722419e82d13772afc8e060d3203fd5a86.camel@intel.com> References: <1597286952-5706-1-git-send-email-wangqing@vivo.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.36.5 (3.36.5-1.fc32) authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.55.39] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a00d7bb8-2ec7-411a-2f1f-08d840a4b39a x-ms-traffictypediagnostic: BYAPR11MB3477: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:359; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DWYKV3JQbRLXmKxuJ+/nUfCZCan8qUjV6dGBY1vAVxpF3KHPok9nW6hSDCQ3rxvf2P42x5cHga+WvxEPNhon3SPB+rH3B3WKuPeB6MyZoPo90SPrmjljAOPUCzvPOkNg12e0DEzVBVrxBGrYtuDKX7mT9eUrU/RFd9Nm/wIE6fLwWADR7qQJ0qjW/+xThLLCIwOf0K8r9MI5tIUhIrG2hqJzW4P+ovAJxTcNec4ElmEHfmNYHU3hC2h7EAmSyIebHaz2wylesMJn4Uo3RX+7Va+DqonplW5l4u9qGeKIfQQYZQKzvrmqXlVm+1IHxhey/osErU5w1ALAkMKLfq2qaw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB3448.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(39860400002)(136003)(396003)(366004)(346002)(54906003)(4326008)(64756008)(8936002)(66946007)(2906002)(8676002)(2616005)(83380400001)(66476007)(66556008)(76116006)(186003)(66446008)(5660300002)(26005)(316002)(478600001)(6506007)(71200400001)(53546011)(36756003)(110136005)(86362001)(6486002)(6512007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 0gsoDWFQLB0VAe3pjYtdYnCr0dahtV0pz1UotAmdmvMRk20zrYmANobodV13was1+og5UEYifTLjSw8LfSpqWUbfi977gsqccpjOq5FtF6QZld5c57cDLXvuUOcfhAPYLLT4e728dnK0LQDYXy6GnBQJaKq27ZIeaE+DJTh1MGyGhHFko5PrDP+dJ32MFCcAYrz3x+/uDl1hWsEQZbvwGft2d4vk9jvc+gxzpI6IfhdMsPfpZ/WiQ3oEnSyb2xuwRbNesggie7a4M+EoXguQeddJLACfSWotBWeEvkuyYbFDoXXMdH0bEEJk8VVTlwVH6joef18AHbcQLwEoFrPIWDP1PMEdqIgFMKfhEobCd7xVFuh5Jjc1egCJRNJumnbsqRFdwezGGsqUxtNqIqC8Wq2Hw9vLEVLL6m/iuBCwA1BXhlPGOFpceina5cxTVHpw9CLYA78OUovkb80ignOeIHq8bv28vT14k2g/G3yltNeDey22+Z+IzoeyDwdLx3ClilKFzeXJA4zs5UtS6LlSWPWRPDyCaoaHKqXRgAZbSEK1Df0iMRfW+yyQHzV5TSPdlRQ7P18R1BqAbabDuZ/cN7nLuBgtH6wk0/pYxKG5GLfgFSE1lq9ialQEiH5gALYWttFVz6yGplIMT+Goe/2BPA== Content-Type: text/plain; charset="utf-8" Content-ID: <1BEEF98980247B4E865FB383C7D5DC8D@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3448.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a00d7bb8-2ec7-411a-2f1f-08d840a4b39a X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2020 22:52:20.1747 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tf2wdwrIyOBfbLClc/QcJn8/SM0m//welJzAR0Gwp65GbqvyGZOIKlAff1tJpf/GQgstsErWl835zTtQ9jVgR95K2XRiF8q1an6e5nD3aVk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3477 X-OriginatorOrg: intel.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: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