Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp388431rwi; Thu, 27 Oct 2022 02:40:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM70vs48wuIGDMuRW7DCk8l9npf6IKzxEmPkGCfuZukcSZwZ7vAdn4o7cyBA6YrsbL9hNupo X-Received: by 2002:a17:906:8473:b0:77b:efa8:50e4 with SMTP id hx19-20020a170906847300b0077befa850e4mr40894927ejc.250.1666863608613; Thu, 27 Oct 2022 02:40:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666863608; cv=none; d=google.com; s=arc-20160816; b=R7xFGJ38Ql4C4DtNjEDVYJfxfiziQ5YZzro4UnolSuCW5AThwgYF0tFGaKFZc002On YFhJD0eeeeX2n0F8jHALV3Fz7atZsKCw7zTVrGrsFwuI8JoC9zWgzLVn5WyCYpg0G9P+ 3UTpn1zH/GlimYwVwWXkBWby/hvjw+u38Oz+2QEMA+D1SYN0GLxCvgUBUuDLf7W6c20p TI9pLYvzom3LtV37WW/N3s7CERAuCxccCp+vB3sODYxHB5h54UwQrMyP3fRmdISomEDa 8kTNNRxsofhLSlvZoxU0eEmw56F0N3h6Qnkph7AII4MPRgOfFGcY5lnv6WGEwzsFkO89 xjsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=u2xJJZS73/d/o0CIY2bxlyBu06Lupq5Y1/URzXoJcZI=; b=u1fVW7glfs0QskeOyWKwKOhXc0Zr9cjkxqmjFNarbBZhdqmxN7ECsnJN6ucyXTQC6e gMJ633+IhC7CHEGZvDxFsrpwdX2vrVWJITH3Z0eiDgNdD2WwTioLyXUjCOQmkRLoIV95 hNaN41AQIoAtYlaLP4J66Dw/lNw8d5hqZOc8jF+tnvNjuyaIwkzNsw3I0hpnEEcYKqfL 4BD2+HJGriaMzLWWmernAbcroW+43S3IVM3my/PJ8lpiMuZ+Hk1iq4hYbjI3aZmZgLNF +wuE4tKcel8Gb7VYctwrulMF91nG5S5+dPhg6zZv8lwotUhUYYIry9ejBC+nIKDAJVsU uT3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b="rUKXcm/Z"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=SdiOIhdI; 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 ds14-20020a170907724e00b0078e11a20640si1090896ejc.2.2022.10.27.02.39.42; Thu, 27 Oct 2022 02:40:08 -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=@arndb.de header.s=fm2 header.b="rUKXcm/Z"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=SdiOIhdI; 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 S234916AbiJ0JJg (ORCPT + 99 others); Thu, 27 Oct 2022 05:09:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234728AbiJ0JJf (ORCPT ); Thu, 27 Oct 2022 05:09:35 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 924D9FEE; Thu, 27 Oct 2022 02:09:32 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 620FF5C0138; Thu, 27 Oct 2022 05:09:31 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Thu, 27 Oct 2022 05:09:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1666861771; x=1666948171; bh=u2xJJZS73/ d/o0CIY2bxlyBu06Lupq5Y1/URzXoJcZI=; b=rUKXcm/ZhA8H39d7Mex+vFksm2 Qmi6KcNPjWQvRWB12gV8FTf66HPVHIIA3nYIek0C31gN+JN5Ak1sDL7DM2mLRfVs RRCRnZ4q9ByYglAPDZDcXb6P/ICiQYtL44cdpumyX3jIexaSuM8Kcj0H20+eaZfy sfFqsByd37G0970SHeKG/pbBAKPNChWG61mB6DzOMkKCSXTFYrEzXOEgzSWO9N/I tPDXvnIxRMLa9EAbW0ieaMW45agQW6DqvolCY3qc/quOEV7qb5UL4ANB2KWjeP3R Xvee8PU9sHJZaDkiPxLB73yJi0h1g2p2TV3c4uj6imLbCJVzolZzAAgacAUQ== 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= fm3; t=1666861771; x=1666948171; bh=u2xJJZS73/d/o0CIY2bxlyBu06Lu pq5Y1/URzXoJcZI=; b=SdiOIhdIJ8srI2G1QM70siY4nnlcIEMsHF0g+Lil2Rd2 kAyh8Nhsrgu6iyT89NTTAAAyvaE4Z0B8SeXYyI4GeKuq+Y33p9D3cVC9yBi5tCpK FL30Acjm208Dkl2yl+PyKSPq8xKMs+eb+hg39HUISIdVDkttQxsjS6eyusj6Klqs Xlnk0VFqhU1eTOLybznPzWfbKgfLJLGasSlfCUBzs646X3Q5ev1AmKKnUiA1GUOm y8olD3ck/4/NMjMivWcs2/j0NF4zrTC1+KhxlgWaHtIb3rVkizCCBE8bW061WD+3 2jh4AdSgPcRBt1m0t6N02o6pHkwE5U0sU94GYCWuNQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtdeggddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 88ADEB60089; Thu, 27 Oct 2022 05:09:30 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1087-g968661d8e1-fm-20221021.001-g968661d8 Mime-Version: 1.0 Message-Id: <83c93b5e-c589-4ca9-8bc0-ad3571f7f54d@app.fastmail.com> In-Reply-To: References: Date: Thu, 27 Oct 2022 11:09:10 +0200 From: "Arnd Bergmann" To: "Naresh Kamboju" , patches@opensource.cirrus.com, "Linux ARM" , "Linux Samsung SOC" , "open list" , llvm@lists.linux.dev Cc: "Krzysztof Kozlowski" , "Russell King" , "Alim Akhtar" , "Nathan Chancellor" , "Andy Shevchenko" Subject: Re: s3c6400_defconfig: arch/arm/mach-s3c/mach-crag6410.c:183:12: error: use of undeclared identifier 'KEY_VOLUMEUP' Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS 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 Thu, Oct 27, 2022, at 09:29, Naresh Kamboju wrote: > Following build warnings / errors noticed while building arm s3c6400_defconfig > with clang tool chain. Do you mean this is a clang specific issue? > arch/arm/mach-s3c/mach-crag6410.c:183:12: error: use of undeclared > identifier 'KEY_VOLUMEUP' > KEY(0, 0, KEY_VOLUMEUP), > ^ I can see that KEY_VOLUMEUP is defined in , which is included by a couple of files in the kernel, but not from this specific board file, so I don't see how it works with gcc. Isn't this just a regression from commit 1810e248b2dc ("Input: matrix_keypad - replace header inclusions by forward declarations")? If that is the problem, I would expect to see the same thing in all of these files, regardless of the compiler: $ git grep -wl '\(linux/input/matrix_keypad.h\|linux/mfd/twl.h\|linux/platform_data/keyboard-spear.h\|linux/platform_data/keypad-nomadik-ske.h\|linux/platform_data/keypad-omap.h\|linux/platform_data/keypad-pxa27x.h\|linux/input/samsung-keypad.h\|\"keypad.h\"\)' | xargs grep -l \\\