Received: by 10.192.165.148 with SMTP id m20csp425imm; Fri, 20 Apr 2018 01:49:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/dcg35Q4aslXdBrPh4imgh8vQCDn753O11vaAUO3xXBCp0mRcfIhm0rvV+GEFhgDA8IZaG X-Received: by 10.99.47.4 with SMTP id v4mr8093779pgv.42.1524214169287; Fri, 20 Apr 2018 01:49:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524214169; cv=none; d=google.com; s=arc-20160816; b=MD0wu23t46hZI/R5Ebof8qjvwt8SbTCc35uSqfS4tSjRLpVCrzEqMBZH1I1WJqoG8F KUda3YkQn4JqcmvDyYTIbj8/Rw6d5EyYcwxnFIzFKatFrQZoWaIxyme/7pSMkCEa08Ci fWoONIQYT6u84urWjCPNrY47c5/GK9pemh1BDCfWlNg76bErtxR1pBErpB1i2QDUQdLT +MKV2cWWfllyhtparDyCW4T4bPSYJ/MrneARKrmungtYz37HEE7QmrZ0UyWXvLnf+H7Y KtMYBWiqB9zar9oGMIlfyYegGiYbXsHZ9t6u0FOe/WOfafOXHlyJvatbvdobWO+gn7Du 4UGQ== ARC-Message-Signature: i=1; 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:arc-authentication-results; bh=DP/RPoYvhczlFTL4Gr281RQFM1bvFdjcd5e+QcEQ7o0=; b=jy5tIxXNBSoqgWTp23TCGPG/4kSQZSsWCLtaz2DnBPB26ftu3w9gzAbXhiB4cMClfn /ZwkXGpKGo4/mgXJG+p89Thb0PODwVuA0M6ho5KGwrD+zIAMK3kfQET3DFUam7AFFcoF 8ilb3WBkTIvbUUsy5W5+Wad+4kKgA+19PNI84cjeV+JwIxVlSt23Iahslm9zzyRBZTQs Y6VEOzgjM1lQUgdiJl1Es44Aa+xMSsXfIy7KClTvr53PUkzAMXYZs1hsAC4a2oL02nsw yiJnGuH5fzefUjkVSJjqgRHuGjJvIoIWvj5yjlNj5ewOAXZyZjVu6C5Nl74K0Z7YTwAt j+aw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1-v6si5493899pld.539.2018.04.20.01.49.14; Fri, 20 Apr 2018 01:49:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754207AbeDTIqr (ORCPT + 99 others); Fri, 20 Apr 2018 04:46:47 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:9687 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754073AbeDTIqp (ORCPT ); Fri, 20 Apr 2018 04:46:45 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w3K8iq7Q011630; Fri, 20 Apr 2018 10:46:15 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2hds2axpya-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 20 Apr 2018 10:46:15 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4E1123D; Fri, 20 Apr 2018 08:46:14 +0000 (GMT) Received: from Webmail-eu.st.com (gpxdag6node6.st.com [10.75.127.82]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DFE4F16B2; Fri, 20 Apr 2018 08:46:13 +0000 (GMT) Received: from GPXDAG6NODE6.st.com (10.75.127.82) by GPXDAG6NODE6.st.com (10.75.127.82) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 20 Apr 2018 10:46:13 +0200 Received: from GPXDAG6NODE6.st.com ([fe80::57f:5f53:243f:cb11]) by GPXDAG6NODE6.st.com ([fe80::57f:5f53:243f:cb11%19]) with mapi id 15.00.1347.000; Fri, 20 Apr 2018 10:46:13 +0200 From: Patrice CHOTARD To: Wolfram Sang , "linux-kernel@vger.kernel.org" CC: "linux-renesas-soc@vger.kernel.org" , "kernel-janitors@vger.kernel.org" , "Greg Kroah-Hartman" , Jiri Slaby , Michal Simek , "linux-serial@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH 53/61] tty: serial: simplify getting .drvdata Thread-Topic: [PATCH 53/61] tty: serial: simplify getting .drvdata Thread-Index: AQHT1+e4Pcsj6WqDyEil/XmiewhVVaQJNrsA Date: Fri, 20 Apr 2018 08:46:13 +0000 Message-ID: References: <20180419140641.27926-1-wsa+renesas@sang-engineering.com> <20180419140641.27926-54-wsa+renesas@sang-engineering.com> In-Reply-To: <20180419140641.27926-54-wsa+renesas@sang-engineering.com> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.117] Content-Type: text/plain; charset="utf-8" Content-ID: <0054C5B023B6904CA3010A56A486D780@st.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-20_03: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