Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2256342pxp; Mon, 21 Mar 2022 15:07:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6Oeiz0CBP6bvSVCRQUsycNbQGKVFHQKlAdUJ3DXo7YDV9VL5hjtjHAqmpLIDEqRqCu7PO X-Received: by 2002:a17:902:b614:b0:151:f034:4058 with SMTP id b20-20020a170902b61400b00151f0344058mr15126579pls.84.1647900452620; Mon, 21 Mar 2022 15:07:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647900452; cv=none; d=google.com; s=arc-20160816; b=G310sAOGCapEGPqlqlQkYF+vcCAd/biL1pGDhxLOdYkXE+uK4iYyD2j87SqFq0HfI8 NTIsr+bYLU6YdKYXMse4dzsEBlmx8SOidcLw6cavYSRScwrtf6U88htVN+izti9VcUmH sGcdSyQCMvh0K5R7AEVnNTcrGE6yvSSC3MgKQXvKWDouQFEr1CHM4w/Qp8OAaqwT/qwi /uIrBY9mlCY3SswRw8V7RM/fLJD6gHmm82G3t80dw1DdAiJ3pdQ8xNnxWGLzt/vau0ri en8cNEWsKPWdR/pxAT+YOGg3sTJCu5BZ3IXVTe/ZDFI5hbe5rtt6HODJ9dmHIeYDHkXu 69XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=NJi090B/iJwFRyHkW21F4iSKRotQmY7UBQ+B5JO82Hg=; b=aqeYkVXwcPcA6sJcX24j7z6oJer3H2Ufn6WNPBppcmJA4VV8aHpGITv8o2EljJc+4A hmIqzkfTOK+L/e+QEwr5DRaNjsx1SiZcejSLi5SVymnpBYULIjNfM/4axZ1qhIFoWLRG Umnm2vkDPXBWQUt/hAnHodp9e+loku1eLb2wIXgfq9HpHEa1s393aeWRbEAqy3U33Slx KysH80uHdzWtBW60QwlJ+1ZciW6oS+IAZ4pyUBpWjcZkkr446rSueVqBiyzbktC4FJs8 EJucD9BLYR3+bj67sHeaUsddZ6B/Z2z2zDueN2F8XkAqG+Vvw/XiSzpoXnDez0upI0zA ADnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=iLHUNTjL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k5-20020a170902e90500b00153b2d1661esi10744256pld.550.2022.03.21.15.07.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:07:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=iLHUNTjL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B222B4D254; Mon, 21 Mar 2022 14:29:58 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241888AbiCSF6o (ORCPT + 99 others); Sat, 19 Mar 2022 01:58:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233945AbiCSF6l (ORCPT ); Sat, 19 Mar 2022 01:58:41 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AB8B23D5A0 for ; Fri, 18 Mar 2022 22:57:21 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id CB8C23200C10; Sat, 19 Mar 2022 01:57:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 19 Mar 2022 01:57:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; 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:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=NJi090B/iJwFRyHkW 21F4iSKRotQmY7UBQ+B5JO82Hg=; b=iLHUNTjLf3gxaY8SDVFZp64lKD9M0vTI+ aOUR8C1Q3EBTLKNFNLg57LoPU9RvLe7wUrrNRGOUNyo9yZ9oszEK3CcZSBFvBbzI of52s8xFXC11S5WkuiNSaPR1/Hu8quxOWaCNyri7JRgSxVcVlkzGAHgGkPKZU/3j 7BD/9BnMKcHtvGxxocfz+gZ98s6jhZOZNCeug+EiFwYgZXlb6k+KtN8xQM0x8DiE T00OIa2rKRNVkXiPyM1AHdKwE2OQqt0qKJPZRhS4IQnoSBQhkI9n3iqQwbjWytsM 95PnZD1wCwgwbmYJq+/kJZ3v7WonGM5UGnUf67fyeLYkH4zImEXGA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudefjedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffujgfkfhggtgesthdtredttddtvdenucfhrhhomhephfhinhhnucfv hhgrihhnuceofhhthhgrihhnsehlihhnuhigqdhmieekkhdrohhrgheqnecuggftrfgrth htvghrnhepffduhfegfedvieetudfgleeugeehkeekfeevfffhieevteelvdfhtdevffet uedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepfh hthhgrihhnsehlihhnuhigqdhmieekkhdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 19 Mar 2022 01:57:16 -0400 (EDT) Date: Sat, 19 Mar 2022 16:57:23 +1100 (AEDT) From: Finn Thain To: Randy Dunlap cc: Benjamin Herrenschmidt , Michael Ellerman , Geert Uytterhoeven , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] macintosh/via-pmu: Fix build failure when CONFIG_INPUT is disabled In-Reply-To: Message-ID: <25cb7e6c-5239-e84d-e73d-848a66a214f@linux-m68k.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, 18 Mar 2022, Randy Dunlap wrote: > > Hi Finn, > It builds without those reported errors, but I do see these warnings > since the robot-supplied .config file has: > # CONFIG_PROC_FS is not set > > > CC drivers/macintosh/via-pmu.o > ../drivers/macintosh/via-pmu.c:897:12: warning: 'pmu_battery_proc_show' defined but not used [-Wunused-function] > 897 | static int pmu_battery_proc_show(struct seq_file *m, void *v) > | ^~~~~~~~~~~~~~~~~~~~~ > ../drivers/macintosh/via-pmu.c:871:12: warning: 'pmu_irqstats_proc_show' defined but not used [-Wunused-function] > 871 | static int pmu_irqstats_proc_show(struct seq_file *m, void *v) > | ^~~~~~~~~~~~~~~~~~~~~~ > ../drivers/macintosh/via-pmu.c:860:12: warning: 'pmu_info_proc_show' defined but not used [-Wunused-function] > 860 | static int pmu_info_proc_show(struct seq_file *m, void *v) > | ^~~~~~~~~~~~~~~~~~ > I see. I'll send a separate patch for this issue.