Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3317458imm; Mon, 6 Aug 2018 02:33:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdSrtg6olaiS8xBT6oAs4oonHyhfDbZV/g30Rd0PqH0zg6FDGuEKDfiAXrHYD4+q5D6npYs X-Received: by 2002:a63:f206:: with SMTP id v6-v6mr13710668pgh.319.1533548028683; Mon, 06 Aug 2018 02:33:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533548028; cv=none; d=google.com; s=arc-20160816; b=vFQxd9WuMh+IP6n/rl4rHvHPnhVSphL5Od1X9F9SeKU90D3YU6Gerep5ZFXeBCPuGP XiY/9K5xpyVQdqrtrcr4dV85qgx4JJXksyqwiTQD/26z3QLbTqjb9/nobbk+j3k+SMFE RmVirJjjtgyFuixL17E0VKT+rgWvAC+IVIiTPZlcwqCdSguMANv7rariNHYJdZ87+SOi Ak1G05pYmH0vG743ajrfRr8Q1FK1pY7pjQ7ZvSawcYMG4OEpjT6x2lcQAskFTJcpFS0k KKpJKXfmQC9+WTEOFsEu/o0SBHagHDD5KRCtkZwub5pi2c0NxuuaLxEiIXZESLdnN9d0 lZfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=FKSQ9liJ/Au5wGXOj1Lk46hqAlnRrez9MWnVeSdfaVk=; b=g9q1fnubUeM2oGb3HYBweJOdwOPufsNU5jTmkvAq36LjE/4430j6Ywc2ep3DvrlX6H 5LPqc78grRCcNI3NoiD3Hi40koAQATsDm4XMePKP2yNGtVb9KxyKpaiJyNrVwpJD3SMl gKdOqKug9g9FCqgh2b1T7pk0Vzzl7sKY5udHl5rloZJbK0IxsORtz33y4HSFGvd4UT1Q X9RHcakRkckE1yQS5pNbwO03oCG4VqLGm7HBP5lA+81Q+SlAin6+9wJge2kRw1BLJ+KJ zQ4RqbXBGzgYdjm4RXdfVTDKSX60iGlZ5kcy1hFki2W5IEhnRMrTzzGZzn2kIlAwK/o6 t7Sg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z4-v6si9874925pgp.580.2018.08.06.02.33.33; Mon, 06 Aug 2018 02:33:48 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728719AbeHFLk4 (ORCPT + 99 others); Mon, 6 Aug 2018 07:40:56 -0400 Received: from mga02.intel.com ([134.134.136.20]:40159 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727510AbeHFLk4 (ORCPT ); Mon, 6 Aug 2018 07:40:56 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2018 02:32:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,452,1526367600"; d="scan'208";a="70509848" Received: from songjunw-mobl1.ger.corp.intel.com (HELO [10.226.39.42]) ([10.226.39.42]) by FMSMGA003.fm.intel.com with ESMTP; 06 Aug 2018 02:32:40 -0700 Subject: Re: [PATCH v2 08/18] serial: intel: Get serial id from dts To: Greg Kroah-Hartman Cc: hua.ma@linux.intel.com, yixin.zhu@linux.intel.com, chuanhua.lei@linux.intel.com, qi-ming.wu@intel.com, linux-mips@linux-mips.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby References: <20180803030237.3366-1-songjun.wu@linux.intel.com> <20180803030237.3366-9-songjun.wu@linux.intel.com> <20180803054304.GA2214@kroah.com> From: "Wu, Songjun" Message-ID: <198e6e8a-cb42-f6b5-b1c0-e3f0bfd3124a@linux.intel.com> Date: Mon, 6 Aug 2018 17:32:39 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20180803054304.GA2214@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/3/2018 1:43 PM, Greg Kroah-Hartman wrote: > On Fri, Aug 03, 2018 at 11:02:27AM +0800, Songjun Wu wrote: >> Get serial id from dts. >> >> "#ifdef CONFIG_LANTIQ" preprocessor is used because LTQ_EARLY_ASC >> macro is defined in lantiq_soc.h. >> lantiq_soc.h is in arch path for legacy product support. >> >> arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h >> >> If "#ifdef preprocessor" is changed to >> "if (IS_ENABLED(CONFIG_LANTIQ))", when CONFIG_LANTIQ is not enabled, >> code using LTQ_EARLY_ASC is compiled. >> Compilation will fail for no LTQ_EARLY_ASC defined. >> >> Signed-off-by: Songjun Wu >> --- >> >> Changes in v2: None >> >> drivers/tty/serial/lantiq.c | 19 +++++++++++++++---- >> 1 file changed, 15 insertions(+), 4 deletions(-) >> >> diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c >> index 044128277248..836ca51460f2 100644 >> --- a/drivers/tty/serial/lantiq.c >> +++ b/drivers/tty/serial/lantiq.c >> @@ -6,6 +6,7 @@ >> * Copyright (C) 2007 Felix Fietkau >> * Copyright (C) 2007 John Crispin >> * Copyright (C) 2010 Thomas Langer, >> + * Copyright (C) 2018 Intel Corporation. > Your changes here do not warrent the addition of a copyright line, don't > you agree? If not, please get a signed-off-by from your corporate > lawyer who does this this is warrented when you resend this patch. > > thanks, > > greg k-h > Thanks. The copyright line will be removed when we resend this patch.