Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2580230rwb; Mon, 15 Aug 2022 07:46:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Cnk6pFflkBxbdB6T+h8+tF9rKfvJClNVSHJgI3b47ylwt3J+bgrnFI2Rq2cxh6w3+ReD+ X-Received: by 2002:a17:90b:508a:b0:1f3:3a77:4fde with SMTP id rt10-20020a17090b508a00b001f33a774fdemr18674803pjb.130.1660574769666; Mon, 15 Aug 2022 07:46:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660574769; cv=none; d=google.com; s=arc-20160816; b=kP9zeatEY/PgEvG9YF2AEMnRhjA+FLPudxEuzlj5mO4F9zAtaBYzAyoLzB3yDmJ5pe qCU3NRnygNreEnkB0mckpWAsXhcoi9UaxIHfd4/2jJ5dxc82P5n1CA2zsWqKlzgxcvyl b3WUaAZD46sdpjdJzOgcqJxuumOkHQtqE/OiZL5dVH3k419IQ+tOw7eYGUPF11XR5uj0 L7qoDS99T7poiM0wB4ybRU3jCfAw6R3/pJG6uC4HesVLKAhGT4mFicxfpMQC4sMj8enm fjLh2qky+aPterd00/agBPweUXiX+I5v79zCdiWSMKItGGmgnmVI4pfp0+tGz6J7WNz0 1oHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature; bh=psq3UPz+5DdIdOmztd5OKOTJ4erPQsdb9+3N6tWZSE8=; b=Ay0UHdU420afX89YrUlRXQQ+GeqB7hHAP5Lc7xrwy+FvJ2HLcx6mgcnwHjq4+MlwJF E8NM6KexTPfD4wxtj9i6tpDZOQ/lDnFcAUR3N5NNVlQUL96uJ25OFGdSLxSdVGu4hEuV hCwHPuMjuBRiycHh0FKKgj0RInuU9fPV1xmZAKVZM3H4KLL7GU/2RN5yhxYWaTBtW6Ne QDrxM88hCCNhyC6IPQ/My5aJjSVk8SCYt75hqNuhDZpeqd0W0LCwX7hrIc3/OUQ1+k8l +7yHQJFHUq6zPLUO5gJomMhtAWZfOH00D4J5eKFig8iz1N2Qnwh/QJotkNgjM4+GEY65 b8fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=QMC8rpEY; 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 x10-20020aa7940a000000b0052e4d8f39e7si10427852pfo.272.2022.08.15.07.45.58; Mon, 15 Aug 2022 07:46:09 -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=@messagingengine.com header.s=fm1 header.b=QMC8rpEY; 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 S232469AbiHOOf0 (ORCPT + 99 others); Mon, 15 Aug 2022 10:35:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230468AbiHOOfW (ORCPT ); Mon, 15 Aug 2022 10:35:22 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F317B26EC; Mon, 15 Aug 2022 07:35:20 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 4325D5C00AD; Mon, 15 Aug 2022 10:35:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 15 Aug 2022 10:35:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1660574117; x=1660660517; bh=psq3UPz+5DdIdOmztd5OKOTJ4erP Qsdb9+3N6tWZSE8=; b=QMC8rpEY6QNcODaiqXdoHjlpr1DivBuVJTU08mSpsQrD Gnp7brnAJ8afjnsFJyRs+O+c1lDwtlpCxjty6EP+0C0fsZupN6hUbVrOf5C7VZVp ovB6CqAp5tw70dR8R08vKJDNB+ZmAPk2joUqgRoydVWYAlxiT8SRzbH9MStlkL1g u83gSCTlJoznBXWPPI5+N9M/YB2zK+ZrlINkgODsxBmbhqLi8PDKVFUksi1dE1lF EafK3QYPgPspX69LfY92Tk/7jm0RYhbMfq/MejfkuSQwlbPVBrsBfLfY7sfGd3/k f5MBjClxBIiSKYsqLjI6gZLo+GOyqXXgGk0tS0Haow== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehvddgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne goufhushhpvggtthffohhmrghinhculdegledmnecujfgurhepfffhvfevuffkfhggtggu jgesthdtredttddtvdenucfhrhhomhepkfguohcuufgthhhimhhmvghluceoihguohhstg hhsehiughoshgthhdrohhrgheqnecuggftrfgrthhtvghrnheptdetgffhffettdetgeek gffghfegledugefgfffhgfejvdelieegjeefudeltdffnecuffhomhgrihhnpehhohhpth hordhorhhgpdhkvghrnhgvlhdrohhrghdpfhgvughorhgrphhrohhjvggtthdrohhrghen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehiughosh gthhesihguohhstghhrdhorhhg X-ME-Proxy: Feedback-ID: i494840e7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 Aug 2022 10:35:14 -0400 (EDT) Date: Mon, 15 Aug 2022 17:35:12 +0300 From: Ido Schimmel To: Colin Foster Cc: linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Terry Bowman , Vladimir Oltean , Wolfram Sang , Andy Shevchenko , UNGLinuxDriver@microchip.com, Steen Hegelund , Lars Povlsen , Linus Walleij , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Russell King , Heiner Kallweit , Andrew Lunn , Krzysztof Kozlowski , Rob Herring , Lee Jones , katie.morris@in-advantage.com, Jonathan Cameron , Dan Williams , Lee Jones Subject: Re: [PATCH v16 mfd 8/8] mfd: ocelot: add support for the vsc7512 chip via spi Message-ID: References: <20220815005553.1450359-1-colin.foster@in-advantage.com> <20220815005553.1450359-9-colin.foster@in-advantage.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,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 Mon, Aug 15, 2022 at 07:19:13AM -0700, Colin Foster wrote: > Something is going on that I don't fully understand with . > I don't quite see how ocelot-core is throwing all sorts of errors in x86 > builds now: > > https://patchwork.hopto.org/static/nipa/667471/12942993/build_allmodconfig_warn/stderr > > Snippet from there: > > /home/nipa/nipa/tests/patch/build_32bit/build_32bit.sh: line 21: ccache gcc: command not found > ../drivers/mfd/ocelot-spi.c: note: in included file (through ../include/linux/bitops.h, ../include/linux/kernel.h, ../arch/x86/include/asm/percpu.h, ../arch/x86/include/asm/current.h, ../include/linux/sched.h, ...): > ../arch/x86/include/asm/bitops.h:66:1: warning: unreplaced symbol 'return' > ../drivers/mfd/ocelot-spi.c: note: in included file (through ../include/linux/bitops.h, ../include/linux/kernel.h, ../arch/x86/include/asm/percpu.h, ../arch/x86/include/asm/current.h, ../include/linux/sched.h, ...): > ../include/asm-generic/bitops/generic-non-atomic.h:29:9: warning: unreplaced symbol 'mask' > ../include/asm-generic/bitops/generic-non-atomic.h:30:9: warning: unreplaced symbol 'p' > ../include/asm-generic/bitops/generic-non-atomic.h:32:10: warning: unreplaced symbol 'p' > ../include/asm-generic/bitops/generic-non-atomic.h:32:16: warning: unreplaced symbol 'mask' > ../include/asm-generic/bitops/generic-non-atomic.h:27:1: warning: unreplaced symbol 'return' > ../drivers/mfd/ocelot-spi.c: note: in included file (through ../arch/x86/include/asm/bitops.h, ../include/linux/bitops.h, ../include/linux/kernel.h, ../arch/x86/include/asm/percpu.h, ../arch/x86/include/asm/current.h, ...): > ../include/asm-generic/bitops/instrumented-non-atomic.h:26:1: warning: unreplaced symbol 'return' > > > was included in both drivers/mfd/ocelot-spi.c and > drivers/mfd/ocelot.h previously, though Andy pointed out there didn't > seem to be any users... and I didn't either. I'm sure there's something > I must be missing. I got similar errors in our internal CI yesterday. Fixed by compiling sparse from git: https://git.kernel.org/pub/scm/devel/sparse/sparse.git/commit/?id=0e1aae55e49cad7ea43848af5b58ff0f57e7af99 The update is also available in the "testing" repo in case you are running Fedora 35 / 36: https://bodhi.fedoraproject.org/updates/FEDORA-2022-c58b53730f https://bodhi.fedoraproject.org/updates/FEDORA-2022-2bc333ccac