Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp320023ybk; Fri, 15 May 2020 01:23:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/Nks8BbfirwhSRhEfx1Wph6S2X12iohTAbIS4HiBc1YbpONBZfxRPI8Uj3LG+pW29A0T5 X-Received: by 2002:a17:906:7204:: with SMTP id m4mr1746607ejk.48.1589531016318; Fri, 15 May 2020 01:23:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1589531016; cv=pass; d=google.com; s=arc-20160816; b=Pl3WLet9VQm/9gFOo7v2q/NYtlxyU4ReCWOd4yc4iN7dBKYlw6//8MO8IR+uYgDReu I39b4a4y6fQGB1JwudpZ+MrjSZ7i9Cbhrlc6quHZGI4xQda30WeKoZkndQSsjiH1Hjzd K89lUVAwzUfrUS+gw7kjtfThIAp6ZvkYmFFpKCDnjVGDL4Gah+x17rBjZjAViBcpjcgH kgRdoSM2/VPWzzEk4pjG8AR6VAQq2kRd7H1hZK3qr00lzyv6FE6g4ujTKeefV/CHFUmU DQgyFaVq5a0CNhR85J/zHC5vE1A1NHLT+wKYr6yWj0AzIzylVkcU2ChwHvu1+zZGBzAD lNUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:references:in-reply-to:reply-to:user-agent:subject:cc:to :from:date:dkim-signature; bh=Qx19X+8L49YGzi+rmZOD+1r21r80p24bDOJwkcWDnQI=; b=NXn//kPXfE+kW1s0kopzvv4rs/0BuMBUw9zzzU7d1K24KSDway+3HLKp1UzZBZ5X+0 l5JoMQwBprEVEw+KQDFJJT9v76JjWGsjaCbQMmLlTi2PBuhXYvUt4Gjc9aSGuzcHL96J X/gPsr/FSUC7iAvEUjlvJKQSHY4Gc67f2JYMjFQuPUqsqjI6r9m6Cl8CdbcUdg0AmZXL qhTuIFgV4NEsV2I4/eocPg1iP5tAWTKSKHP+MNkJg7VBuGPr1Qpl3m4oMCz7lG+Hy5BZ 2R/YXH0JadtBIC0ULv2ila6ubatOn7MazvLIXqtPVxQPPmXXsCUCmExHHqof+6rDFla8 Uw2w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b="SsP/HvLo"; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dmarc=pass fromdomain=flygoat.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=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oy10si751853ejb.268.2020.05.15.01.23.12; Fri, 15 May 2020 01:23:36 -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=@flygoat.com header.s=mail header.b="SsP/HvLo"; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dmarc=pass fromdomain=flygoat.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=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727050AbgEOIUh (ORCPT + 99 others); Fri, 15 May 2020 04:20:37 -0400 Received: from sender3-op-o12.zoho.com.cn ([124.251.121.243]:17781 "EHLO sender3-op-o12.zoho.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726723AbgEOIUg (ORCPT ); Fri, 15 May 2020 04:20:36 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1589530799; cv=none; d=zoho.com.cn; s=zohoarc; b=I5AO7eEHD447CccTdZaAOftVutHbnJp7+oCWupqOjxaFxHumOrHsLsPwTR3WD8F/Tj297dxDZKQZPIbALAPgKB2zjfG4DByeuIl7gn7+lxzrH8tnbGt4ZrzEdf6kQxO0f++bkXRJcNUAd7M4X7rIncAK8Hfh7QqAqqfgnuTBPn8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com.cn; s=zohoarc; t=1589530799; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:Reply-To:References:Subject:To; bh=Qx19X+8L49YGzi+rmZOD+1r21r80p24bDOJwkcWDnQI=; b=U2ewBZCKPaMnwsBx1lSJCsv7Bd7+losI2aNQyg6D2v3zBJaN6h9qp5F0yG8ve35TLew9p0JHfU/GeASzsmf026nzi+j54LlnR3E/JZWpW1q3E72veBF1GB1f/YzIL90WkPEZH5pEEpbZ68qZNSIXw53NiEDuV0Ye86tE/97Uu24= ARC-Authentication-Results: i=1; mx.zoho.com.cn; dkim=pass header.i=flygoat.com; spf=pass smtp.mailfrom=jiaxun.yang@flygoat.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589530799; s=mail; d=flygoat.com; i=jiaxun.yang@flygoat.com; h=Date:From:To:CC:Subject:Reply-to:In-Reply-To:References:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=Qx19X+8L49YGzi+rmZOD+1r21r80p24bDOJwkcWDnQI=; b=SsP/HvLo7zUc4qavU4jkMM0x7eO0RA1RDj+T0/JmskrpysldtZwG9gqhcSqyCeN5 VpyiT/WcqRtiT3ybc1kVRtPAsK40ZpbWH4ONgr5aw7Id1sQHxztn4EqOgq6CziIDQ4C wfo1YF/8MiOqDAbFIRwUC/V2IqbtLgwgF47uAmLI= Received: from [127.0.0.1] (101.84.172.108 [101.84.172.108]) by mx.zoho.com.cn with SMTPS id 1589530796515656.4604736588635; Fri, 15 May 2020 16:19:56 +0800 (CST) Date: Fri, 15 May 2020 16:19:52 +0800 From: Jiaxun Yang To: Tiezhu Yang , Thomas Bogendoerfer CC: Huacai Chen , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li Subject: Re: [PATCH v2 2/2] MIPS: Fix build errors under CONFIG_HAVE_STD_PC_SERIAL_PORT User-Agent: K-9 Mail for Android Reply-to: jiaxun.yang@flygoat.com In-Reply-To: <7715fe64-5d28-f8c8-3b04-0bf2b9f16497@loongson.cn> References: <1589512985-27419-1-git-send-email-yangtiezhu@loongson.cn> <1589512985-27419-2-git-send-email-yangtiezhu@loongson.cn> <20200515073938.GA8289@alpha.franken.de> <7715fe64-5d28-f8c8-3b04-0bf2b9f16497@loongson.cn> Message-ID: <5AA0EB3A-DF33-4BE7-804C-45F6B51A0CF7@flygoat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoCNMailClient: External Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org =E4=BA=8E 2020=E5=B9=B45=E6=9C=8815=E6=97=A5 GMT+08:00 =E4=B8=8B=E5=8D=883= :54:46, Tiezhu Yang =E5=86=99=E5=88=B0: >On 05/15/2020 03:39 PM, Thomas Bogendoerfer wrote: >> On Fri, May 15, 2020 at 11:23:05AM +0800, Tiezhu Yang wrote: >>> When CONFIG_HAVE_STD_PC_SERIAL_PORT is set, include linux/module=2Eh t= o fix >>> the following build errors: >> how are you doing this ? To me it looks like this CONFIG option isn't >> used anymore=2E > >Because I will use arch/mips/kernel/8250-platform=2Ec in the near future, >so make MACH_LOONGSON64 selects HAVE_STD_PC_SERIAL_PORT, then >I find the build errors=2E Please never use it=2E If you are willing to add serial port then please do it in devicetree=2E Platform devices in wild is dangerous and it will break everything=2E > >Thanks, >Tiezhu Yang > >> >> Thomas=2E >> > --=20 Jiaxun Yang