Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp509378rwd; Wed, 17 May 2023 23:16:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5MLhuI3cuVCTPS11e9Mjy89A3/qYst7+bzp1xVOVkTQW4Raip1bV6y5/zOCd0XmaZf8Gg1 X-Received: by 2002:a05:6a00:841:b0:64d:1451:8233 with SMTP id q1-20020a056a00084100b0064d14518233mr2083190pfk.21.1684390582280; Wed, 17 May 2023 23:16:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684390582; cv=none; d=google.com; s=arc-20160816; b=UufW4jr5Ynh5AwGdNOqTfYdKT9r7qKJwJQtIwS6TSRDJ2qz8KB2js/RiDUcnFX+u2o Zw+rZt4/il0V54y4ao0K3nFPFTzEVE+eYL8lCQuVuWlmh2N4Zp+AgMKCIS/+J02BljpE Ff7Bqy0g0qdraoaSL7Y8pgdstQsto8Gt8KE+WetOR+987+mjpxVrkjnlxsRm+aHZYnyP DwNi2OOYd+DXnVeAb9JnpS8xlQLZ4gJyb1P5/fSNGc3EbwqE8q+XtYGQ2vGyJlBmrKPn opM8RDxC0wy1fBB2A53Z8hMTH4JPIPyNPi05IWxr3Rkl4/Rh7I7vv5hK/cTbcUPj6yis kXqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=T2rxVNj3wVpEz9gh5N1QQBTQxKKD3sXh7yI31LQUZbA=; b=jXaBJ9eaB4bzvDQmHL2a1z1T9lYzi+sWKuqKhH32dbAJ73qI7RaDBVG3SDvyH0jCKe t7thg0qvAwBNGa53xmhXBJNHZzj0JFRgx5eILBFc+wOoR8kXyRSqGOUWG3vcLW4OCzXF SyqNnZ/g2gKMDEDc7QtkeZDMmUI93OLphIy6ldR6yBH6FDpaxWik1PSmFoXC+r8YT563 8KBR/zIx03Iu0eBXuxgonb8mwtG3QhD7Wna4f2hOBY4Z/Nir6R1MJ0JOTa7rBE4L3yIK Ddu0VEFIhPuFv+oyiPFRj2jStxEgTESaA+zI+hWAN4OoItsTysyQjn5wUtXfligJWQxV q1Lg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y10-20020a63b50a000000b005346d98e741si703981pge.50.2023.05.17.23.16.05; Wed, 17 May 2023 23:16:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229833AbjERFts (ORCPT + 99 others); Thu, 18 May 2023 01:49:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229586AbjERFtr (ORCPT ); Thu, 18 May 2023 01:49:47 -0400 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B333E1724; Wed, 17 May 2023 22:49:44 -0700 (PDT) Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-510c734fa2dso1621773a12.0; Wed, 17 May 2023 22:49:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684388983; x=1686980983; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=T2rxVNj3wVpEz9gh5N1QQBTQxKKD3sXh7yI31LQUZbA=; b=YC5kzIgxgn5J1xkqHuW1Pm3jA6jqtGKaAyHaztxNcbpLCy/TkxXJOp+UiERmw82+Rp 9V3Yo986GdzGMPcoIQb/dSkLg3N90uAXb2B33JGap386t8+UPK3gqtY1DqOozYaFWKdP DRzONCqhGXFKQy1D7eNJmV+aSv8Cxu5IVXFXTnP35g6HcOqJ8v2IeuoBToTsHDTFmK52 PnmTKRNKeYWeJ03083LFNB1sVfME9/EGJRBrcG0v5J/7xmaRMg1xruYz2A/wGHwp7V21 CZdkh6NFqgOPcjC23Gon9ml9wJYxrfEUfjRdECpmQK2EhLE9KKH4YB20Q1dzujvd7Kpb K/KQ== X-Gm-Message-State: AC+VfDzafljl4ybAMkmglwEYqOniAKtJ588jqQQHGkVP4xhDyIVHJG/2 jqfZN10MckP1hRAXDJY2jUg= X-Received: by 2002:a05:6402:51c9:b0:506:94db:f4fb with SMTP id r9-20020a05640251c900b0050694dbf4fbmr3329778edd.20.1684388982947; Wed, 17 May 2023 22:49:42 -0700 (PDT) Received: from [10.223.1.187] ([195.39.106.162]) by smtp.gmail.com with ESMTPSA id s4-20020a056402164400b0050da1edb2e4sm166727edx.31.2023.05.17.22.49.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 May 2023 22:49:42 -0700 (PDT) Message-ID: Date: Thu, 18 May 2023 07:49:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: linux-next: Tree for May 15 (config SERIAL_CPM) Content-Language: en-US To: Randy Dunlap , Stephen Rothwell , Linux Next Mailing List , Greg KH Cc: Linux Kernel Mailing List , linux-serial@vger.kernel.org References: <20230515141235.0777c631@canb.auug.org.au> <1538d954-864e-3a07-594a-dfe6d3178a72@infradead.org> From: Jiri Slaby In-Reply-To: <1538d954-864e-3a07-594a-dfe6d3178a72@infradead.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16. 05. 23, 4:51, Randy Dunlap wrote: > > > On 5/14/23 21:12, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20230512: >> > > commit e3e7b13bffae > Author: Jiri Slaby > Date: Thu Apr 21 12:17:08 2022 +0200 > > serial: allow COMPILE_TEST for some drivers That commit should be reverted. I didn't realize it wouldn't link, while it compiles fine. > See this portion of that commit: > > --- a/drivers/tty/serial/Kconfig > +++ b/drivers/tty/serial/Kconfig > @@ -783,7 +783,7 @@ config SERIAL_PMACZILOG_CONSOLE > > config SERIAL_CPM > tristate "CPM SCC/SMC serial port support" > - depends on CPM2 || CPM1 > + depends on CPM2 || CPM1 || (PPC32 && COMPILE_TEST) > > > When PPC32=y and COMPILE_TEST=y but CPM1 is not set and CPM2 is not set: > > /opt/crosstool/gcc-12.2.0-nolibc/powerpc-linux/bin/powerpc-linux-ld: drivers/tty/serial/cpm_uart/cpm_uart_core.o: in function `cpm_uart_release_port': > cpm_uart_core.c:(.text+0x598): undefined reference to `cpm_uart_freebuf' > /opt/crosstool/gcc-12.2.0-nolibc/powerpc-linux/bin/powerpc-linux-ld: drivers/tty/serial/cpm_uart/cpm_uart_core.o: in function `cpm_uart_set_termios': > cpm_uart_core.c:(.text+0x8e0): undefined reference to `__cpm2_setbrg' > /opt/crosstool/gcc-12.2.0-nolibc/powerpc-linux/bin/powerpc-linux-ld: drivers/tty/serial/cpm_uart/cpm_uart_core.o: in function `cpm_uart_break_ctl': > cpm_uart_core.c:(.text+0xb10): undefined reference to `cpm_line_cr_cmd' > /opt/crosstool/gcc-12.2.0-nolibc/powerpc-linux/bin/powerpc-linux-ld: cpm_uart_core.c:(.text+0xb6c): undefined reference to `cpm_line_cr_cmd' > /opt/crosstool/gcc-12.2.0-nolibc/powerpc-linux/bin/powerpc-linux-ld: drivers/tty/serial/cpm_uart/cpm_uart_core.o: in function `cpm_uart_startup': > cpm_uart_core.c:(.text+0x1d48): undefined reference to `cpm_line_cr_cmd' > /opt/crosstool/gcc-12.2.0-nolibc/powerpc-linux/bin/powerpc-linux-ld: drivers/tty/serial/cpm_uart/cpm_uart_core.o: in function `cpm_uart_request_port': > cpm_uart_core.c:(.text+0x1ddc): undefined reference to `cpm_uart_allocbuf' > /opt/crosstool/gcc-12.2.0-nolibc/powerpc-linux/bin/powerpc-linux-ld: cpm_uart_core.c:(.text+0x2170): undefined reference to `cpm_line_cr_cmd' > /opt/crosstool/gcc-12.2.0-nolibc/powerpc-linux/bin/powerpc-linux-ld: drivers/tty/serial/cpm_uart/cpm_uart_core.o: in function `cpm_uart_probe': > cpm_uart_core.c:(.text+0x2474): undefined reference to `cpm_uart_map_pram' > /opt/crosstool/gcc-12.2.0-nolibc/powerpc-linux/bin/powerpc-linux-ld: cpm_uart_core.c:(.text+0x2724): undefined reference to `cpm_uart_unmap_pram' > /opt/crosstool/gcc-12.2.0-nolibc/powerpc-linux/bin/powerpc-linux-ld: cpm_uart_core.c:(.text+0x2838): undefined reference to `cpm_uart_map_pram' > /opt/crosstool/gcc-12.2.0-nolibc/powerpc-linux/bin/powerpc-linux-ld: drivers/tty/serial/cpm_uart/cpm_uart_core.o: in function `cpm_uart_shutdown': > cpm_uart_core.c:(.text+0x2aa8): undefined reference to `cpm_line_cr_cmd' > /opt/crosstool/gcc-12.2.0-nolibc/powerpc-linux/bin/powerpc-linux-ld: cpm_uart_core.c:(.text+0x2ba4): undefined reference to `cpm_line_cr_cmd' > > -- js suse labs