Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6541558rwd; Mon, 19 Jun 2023 08:39:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4xKkZs5Xh6pJ/MBO78BoLPWWdFJ/D5dxrYq9MkfqtIXlq7+kDQLRNYhCZdbQv+bg5KMQIk X-Received: by 2002:a05:6a20:244a:b0:115:1784:6a1f with SMTP id t10-20020a056a20244a00b0011517846a1fmr21456423pzc.19.1687189160696; Mon, 19 Jun 2023 08:39:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687189160; cv=none; d=google.com; s=arc-20160816; b=GTvEUeUjmuRL9Um1cddSVsZh2wcD61ooJDXZuAWx1jII3I+fmEAsX7mQUYY53NPr3C IeSjxZhdFjG+ZqaMNY4WmUMh8UUd1RF0Hsr9Jyb/bxIqYcBMqxLRwW2OpLDVAh38sIXK vZmnW/soPE9Be5CGskcS6d33tGTmOdhlVcZcGFWBuQB/eV/PxTp7RSE8E6A+fxZYOfFL 0KYOjwihmz1oIEB3fi94uEDZDmWdH1t8exk2ZFWethMKWKevYcPv3hfiRglpKDZvzyOJ r7s6+qFrXHduyfxvEGK3xpnYp33vmjj59vPC8lnwp2h5XZvZaSwmaOYdHXtI3uwQdGzS z89g== 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:dkim-signature; bh=fnh6RCNEHzHmS6/XhMUtUgMq0ysRFuFiukVtZgZImCA=; b=kP1ORQpBdIwpOaybq9EpRc/SyUhbaqac6tEUU6tcbGZ0ZJZcNgLNbjcD/NTHBuQT9r BPAPBZKo8o6o4fpC419q5GuIQ+BRhYm6G1sK+TeTOcmUyd4nBrPV2ebZNWxejXhydpHC 3ubz78DXX/nz+4K5G1FEjLh2Qo/VBM9nQDu2YvsMrD6m/ehfPl6HgVLNbkMlodO/9hMd mXn6wCafnHSp7ywqX5C0ZwtY0xkk8WOEdd98ElRjd5ID0NlkFXoF9DHsKvtj0lRW4tyK yT+rmzOZSg8IQnnHPXU0r69OaHfxKz2WOyuXzLFr0BnNATUx2eRifjVlzuiY7AlklgeT +6DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yZwwXIIj; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv10-20020a632e0a000000b0054f93b605cdsi15763788pgb.37.2023.06.19.08.39.08; Mon, 19 Jun 2023 08:39:20 -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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yZwwXIIj; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231209AbjFSPSc (ORCPT + 99 others); Mon, 19 Jun 2023 11:18:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229711AbjFSPSb (ORCPT ); Mon, 19 Jun 2023 11:18:31 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9369B9; Mon, 19 Jun 2023 08:18:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=fnh6RCNEHzHmS6/XhMUtUgMq0ysRFuFiukVtZgZImCA=; b=yZwwXIIj5HgDds8uv5azf2KFL/ 2uOyxDsC2zQx94/fuYz/HMXyE8iaMYuq7Pq7xMj1XEJ5+hejE1RPa95u1uWWylGSY/5YnXx9JYyX3 SGMuBbGF7xcCb388EMh5vL4UnxNMcKbq+xqjH3mH9qMrNY50KdylIB/2upUvNJzaRXSKhYF9BACD4 8VNgCFIG8/QxP4ULg3KhAPOu2qEAY+ZryZrIWPBrpgN/g1jcybCU7SBpwX5oMvJG601MHpDM4ItjB QF5tdzW6P3J3PQhI44QvbuZFczBKdCYVuSyNXLAP38+ZAEWpKO1NBeue+wryY/JADpJ17hBvPTD+j rPNWaCaQ==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qBGeB-008lL4-01; Mon, 19 Jun 2023 15:18:27 +0000 Message-ID: <7c7cc6b2-5c63-f893-d4ac-fcea40b2a4b4@infradead.org> Date: Mon, 19 Jun 2023 08:18:25 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH] s390/net: lcs: use IS_ENABLED() for kconfig detection Content-Language: en-US To: Alexandra Winter , patchwork-bot+netdevbpf@kernel.org Cc: linux-kernel@vger.kernel.org, wenjia@linux.ibm.com, linux-s390@vger.kernel.org, netdev@vger.kernel.org, hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com, borntraeger@linux.ibm.com, svens@linux.ibm.com References: <20230615222152.13250-1-rdunlap@infradead.org> <168690302072.8823.785077843270614259.git-patchwork-notify@kernel.org> <4f2afa34-830a-3c17-99e7-1cb5b874e7ce@linux.ibm.com> From: Randy Dunlap In-Reply-To: <4f2afa34-830a-3c17-99e7-1cb5b874e7ce@linux.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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 6/19/23 03:04, Alexandra Winter wrote: > > > On 16.06.23 10:10, patchwork-bot+netdevbpf@kernel.org wrote: >> Hello: >> >> This patch was applied to netdev/net-next.git (main) >> by David S. Miller : >> >> On Thu, 15 Jun 2023 15:21:52 -0700 you wrote: >>> When CONFIG_ETHERNET=m or CONFIG_FDDI=m, lcs.s has build errors or >>> warnings: >>> > > IIUC, CONFIG_ETHERNET is bool. duh, yes. Thanks. > I reproduced this with CONFIG_ETHERNET=n and CONFIG_FDDI=m, > and verified that it does compile with your patch. > > Thank you Randy for correcting this. > >>> ../drivers/s390/net/lcs.c:40:2: error: #error Cannot compile lcs.c without some net devices switched on. >>> 40 | #error Cannot compile lcs.c without some net devices switched on. >>> ../drivers/s390/net/lcs.c: In function 'lcs_startlan_auto': >>> ../drivers/s390/net/lcs.c:1601:13: warning: unused variable 'rc' [-Wunused-variable] >>> 1601 | int rc; >>> >>> [...] >> >> Here is the summary with links: >> - s390/net: lcs: use IS_ENABLED() for kconfig detection >> https://git.kernel.org/netdev/net-next/c/128272336120 >> >> You are awesome, thank you! > -- ~Randy