Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5268680rwb; Mon, 14 Nov 2022 01:50:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf65bcwC/WuUpxqoOBjM0e7IihbSJzZ4k2TavpD6mobOlY/E3IchL8jMYR9Ee71lGpFtBkEW X-Received: by 2002:a17:906:1381:b0:7ad:bf62:e9b with SMTP id f1-20020a170906138100b007adbf620e9bmr9652772ejc.290.1668419405193; Mon, 14 Nov 2022 01:50:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668419405; cv=none; d=google.com; s=arc-20160816; b=bddPi6lwBVApxIItmgj9XcKktTiRpLrWw0kdN18RX9xIFzmnJ++RKLvv5BLXWGs3JL 8NsldbZzDvfXNZ7PvhnR+3Qw5ZC2dsJtcjqRv+kEic+zhna/sd/EoGcSkDEzV9h7BsBp vFFSdZSzh+q1VHXcQfUhsuq5h0FEI652WOMBjjr6Hwf+V57JpCq40EV2i+8eabAw+TPz ghhyK86Hk6UULzLEpLsa3p0i04HCDyPK5PVvJGtA9b36rXjSLNDE2YncK54tOMC8hlxM Ao7xhZtmZR6hVngZ2F65ark/scIWbUy/0zGaSj3trJKn3Bul5V7po7mnIP5446EB7eME 1P7A== 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:dkim-signature; bh=rhjNGR+gixyY/w7y0uEYH+moGTK6wkTGkRYxgwtnNh4=; b=o63tpWzwHR4jbdCnWB6eBIZJjWH8eBFrKwt34AtZNaiJerVhafxJpu+6CXwZIBnPFR NuSSoVJSxbCjsWEyaQHV3cn0KM55eeb+/FdKAYMAML16Vk7UJ3LgaZjgoXLoI/cO3Fjg BLvERuBWSJBdzTjzAHNrye/XUt7j/WUY4So1dC4qKC1E1QMgvDV1kezQPa8jj6IU511/ Rk1Pw5y3F66N4tnS0b7OtSZwyjlkutdVcLpcNXJtd/wby2qU3ObTnpviK4IhlmwTN9aM iQe4QphdJ+gJgDnMe9Wpvr3/h7YX5UbIvdRJRW3a8oQnBE7YACC3sa0dkl2WOiYW5+v3 K8wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm1 header.b=gVoD5gub; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Fltgp6Ph; 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 sb2-20020a1709076d8200b00780e89aecd1si8767776ejc.849.2022.11.14.01.49.43; Mon, 14 Nov 2022 01:50:05 -0800 (PST) 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=@kroah.com header.s=fm1 header.b=gVoD5gub; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Fltgp6Ph; 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 S236734AbiKNJDI (ORCPT + 88 others); Mon, 14 Nov 2022 04:03:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236710AbiKNJC7 (ORCPT ); Mon, 14 Nov 2022 04:02:59 -0500 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F6C063AB; Mon, 14 Nov 2022 01:02:58 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B87F85C0170; Mon, 14 Nov 2022 04:02:57 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 14 Nov 2022 04:02:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.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; s=fm1; t=1668416577; x=1668502977; bh=rhjNGR+gix yY/w7y0uEYH+moGTK6wkTGkRYxgwtnNh4=; b=gVoD5gubdrw254rJTDOQ+Lnknr I23cXqSnr1qXdHYrO7uztpdPFz+TubKBMHsvNhtQtinPDJFVMtglBszRn4sgTfLu hclKxP28EhQ5zLceA5VLsvCFP7D8nmT2DuESCvd82+jPi3tpvlk1jbYwSwPuqUPy lXO86Fl3oD6XkhanADl7P8wMEtrUXtQBaxHiZFZXCpNQxCmxhXQqSWdBZBNj4kA5 ZhA/crCyc4NU25Xz9cZDelmJxQ4xjYiOfKyyAMdcMnQIzPDu69PJg0BPczg21J4u SU4A492nE6LqoG8DlRBFebsdSjKi/jLXcmnrvoVAz6wjtlDxnzmLQeJ9+rmA== 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=1668416577; x=1668502977; bh=rhjNGR+gixyY/w7y0uEYH+moGTK6 wkTGkRYxgwtnNh4=; b=Fltgp6PhT7hv16Oq9ZUrkAD6hfOVoNvmudHPmtRYh+xn ge5UNsIcPvqUj/Mw2goJHWPYNGOIj/B9P1c17dXoXbzdL5bszXmMy4+NPpTZ5+Q/ F2ATjxNz4ZMSAoqQVRFAAMREGEFZQWCDWKA8O1vihUgWjlqWO4kiaXgZ+wsJqFql x9d0W0Rxl4Xl+LKfiXcxSpVwUKv0f7r2g60088oIV7nP6xmXVOivuJ3vg8M1dWdJ m+i+wI+bIjXfcebrQMH+37EFsY3Jcf08e3XB8ZFN2gDsX/JsgnC+VvpKM0hu6LYK vjm5PMgFxPchxH5sAtnsDXjCwmplikzLo0bMwrirIg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgedugdduvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepheegvd evvdeljeeugfdtudduhfekledtiefhveejkeejuefhtdeufefhgfehkeetnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorg hhrdgtohhm X-ME-Proxy: Feedback-ID: i787e41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 14 Nov 2022 04:02:56 -0500 (EST) Date: Mon, 14 Nov 2022 10:02:54 +0100 From: Greg KH To: Arnd Bergmann Cc: Stephen Rothwell , Liu Ying , Linux Kernel Mailing List , linux-next Subject: Re: linux-next: build warnings after merge of the char-misc tree Message-ID: References: <20221114181752.08a850f0@canb.auug.org.au> <02828ff7-c734-4b55-b86e-5cc777e1a35b@app.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02828ff7-c734-4b55-b86e-5cc777e1a35b@app.fastmail.com> 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 Mon, Nov 14, 2022 at 08:33:41AM +0100, Arnd Bergmann wrote: > On Mon, Nov 14, 2022, at 08:17, Stephen Rothwell wrote: > > Hi all, > > > > After merging the char-misc tree, today's linux-next build (powerpc > > allnoconfig) produced these warnings: > > > > drivers/bus/simple-pm-bus.c:96:12: warning: > > 'simple_pm_bus_runtime_resume' defined but not used [-Wunused-function] > > 96 | static int simple_pm_bus_runtime_resume(struct device *dev) > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > drivers/bus/simple-pm-bus.c:87:12: warning: > > 'simple_pm_bus_runtime_suspend' defined but not used [-Wunused-function] > > 87 | static int simple_pm_bus_runtime_suspend(struct device *dev) > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Introduced by commit > > > > 882cf4c913d7 ("drivers: bus: simple-pm-bus: Use clocks") > > I see that this is caused by the patch using the old-style > SET_RUNTIME_PM_OPS/SET_NOIRQ_SYSTEM_SLEEP_PM_OPS macros > instead of the correct SYSTEM_SLEEP_PM_OPS/NOIRQ_SYSTEM_SLEEP_PM_OPS > versions. Ok, will go revert the offending commit for now, thanks! greg k-h