Received: by 10.223.164.202 with SMTP id h10csp661774wrb; Tue, 14 Nov 2017 07:40:33 -0800 (PST) X-Google-Smtp-Source: AGs4zMYqKnT3nsu4LHhg/HnbMOyWzUhdsYXByt7KbZuAMCGTJlukO+jmehkcsSKhu8hQULigVh+o X-Received: by 10.84.213.9 with SMTP id f9mr12361537pli.76.1510674033073; Tue, 14 Nov 2017 07:40:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510674033; cv=none; d=google.com; s=arc-20160816; b=IQmiuJUuF8NLTRvkeeUMQGILoRhRTGZST6z9nYisW1S9OJbkYNv2oMefHkv7ghCZsO NkTkEFP8elJhKsdnFhe9/7rNKsz+Pryt3DXAOckJ2TBN6i8rtqe7pfYwaYr1TWexHuAi 0/VHJbsVQa/qnnCyx9bsoY1+Wm+Da+8+hTRieSs9lpo7TJ6ORDonHbrZHsnElb6U5+os JqhI1ya8Inrg0+XtMXSZQd9IVJgxxS3JXcuqbk3VY4Qo7ERf1qMjTgn11nL9WSqw7v3s OKhp4ZOLyayf8u+c9upUx2jIclTcHV1uwgqHN1PFjcQAfVeo1NdyjqIoFYwxl0XYZddk c5LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=YgeNPRIKW2fk96ghHQgN7AEE0XxzsVCwmUeFR2RS2QA=; b=Y+MtUdODBHfAzQZdUky84Clz41xS2k7kw8c0S0Tgurf7rAc/ZJf7EI+V04CuwKwLIF HwAhsEULysexIy7MBlfl3jMn6M6qyS6eTve5Zelmr3LvjmcZOuUDTqwfTTwbLYtSeGCZ 0eO58p0igB2UrFwCwHYR7fXNbE8abImF7bKYBsQECu98/Z2wau5sIIPhKQOQmpEH9tfu w7f+wfNLuBR8Pb5XlWebkjp+QMOWus6APXSHJyzgWycaQUoQVFzGHI4oXbKtqBOeapzN +ZJYov6drbesh2L7A+lRljOM59VEw2dBxIDJBZiIjJ90ovdgBAr3vVkdomheBQUKpgYg hdfg== 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 r28si17575595pfk.101.2017.11.14.07.40.20; Tue, 14 Nov 2017 07:40:33 -0800 (PST) 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 S1755451AbdKNOFp (ORCPT + 88 others); Tue, 14 Nov 2017 09:05:45 -0500 Received: from eddie.linux-mips.org ([148.251.95.138]:43926 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753507AbdKNOFi (ORCPT ); Tue, 14 Nov 2017 09:05:38 -0500 Received: from localhost.localdomain ([127.0.0.1]:51990 "EHLO linux-mips.org" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S23992911AbdKNOFhMHgB0 (ORCPT ); Tue, 14 Nov 2017 15:05:37 +0100 Received: from h7.dl5rb.org.uk (localhost [127.0.0.1]) by h7.dl5rb.org.uk (8.15.2/8.14.8) with ESMTP id vAEE5Ybo014730; Tue, 14 Nov 2017 15:05:34 +0100 Received: (from ralf@localhost) by h7.dl5rb.org.uk (8.15.2/8.15.2/Submit) id vAEE5YAa014729; Tue, 14 Nov 2017 15:05:34 +0100 Date: Tue, 14 Nov 2017 15:05:34 +0100 From: Ralf Baechle To: Matt Redfearn Cc: James Hogan , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Philippe Ombredanne , Kate Stewart , Greg Kroah-Hartman Subject: Re: [PATCH] MIPS: ath25: Avoid undefined early_serial_setup() without SERIAL_8250_CONSOLE Message-ID: <20171114140534.GA14698@linux-mips.org> References: <1510666157-27252-1-git-send-email-matt.redfearn@mips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1510666157-27252-1-git-send-email-matt.redfearn@mips.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 14, 2017 at 01:29:17PM +0000, Matt Redfearn wrote: > Currently MIPS allnoconfig with CONFIG_ATH25=y fails to link due to > missing support for early_serial_setup(): > > LD vmlinux > arch/mips/ath25/devices.o: In function ath25_serial_setup': > devices.c:(.init.text+0x68): undefined reference to 'early_serial_setup' > > Rather than adding dependencies to the platform to force inclusion of > SERIAL_8250_CONSOLE together with it's dependencies like TTY, HAS_IOMEM, > etc, just make ath25_serial_setup() a no-op when the dependency is not > selected in the kernel config. Looks like arch/mips/rb532/serial.c might be suffering from the same issue? Ralf From 1584048570510523799@xxx Tue Nov 14 13:33:57 +0000 2017 X-GM-THRID: 1584048570510523799 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread