From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F03EAC433FE for ; Sat, 5 Dec 2020 15:34:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BF0AD2310B for ; Sat, 5 Dec 2020 15:34:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726751AbgLEPZT (ORCPT ); Sat, 5 Dec 2020 10:25:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:44128 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726871AbgLEO73 (ORCPT ); Sat, 5 Dec 2020 09:59:29 -0500 From: Krzysztof Kozlowski Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: Sylwester Nawrocki , Michael Turquette , Stephen Boyd , Chanwoo Choi , Tomasz Figa , Arnd Bergmann Cc: Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] [v2] clk: samsung: mark PM functions as __maybe_unused Date: Sat, 5 Dec 2020 15:14:01 +0100 Message-Id: <160717762368.10558.8515675598564010108.b4-ty@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201204091616.4128366-1-arnd@kernel.org> References: <20201204091616.4128366-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org On Fri, 4 Dec 2020 10:16:11 +0100, Arnd Bergmann wrote: > The use of SIMPLE_DEV_PM_OPS() means that the suspend/resume > functions are now unused when CONFIG_PM is disabled: > > drivers/clk/samsung/clk-exynos-clkout.c:219:12: error: 'exynos_clkout_resume' defined but not used [-Werror=unused-function] > 219 | static int exynos_clkout_resume(struct device *dev) > | ^~~~~~~~~~~~~~~~~~~~ > drivers/clk/samsung/clk-exynos-clkout.c:210:12: error: 'exynos_clkout_suspend' defined but not used [-Werror=unused-function] > 210 | static int exynos_clkout_suspend(struct device *dev) > | ^~~~~~~~~~~~~~~~~~~~~ > > [...] Applied, thanks! [1/1] clk: samsung: mark PM functions as __maybe_unused commit: 4c44274ee457e3f7012dc532c8c9cc8964a82612 Best regards, -- Krzysztof Kozlowski From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1272C4361A for ; Sat, 5 Dec 2020 14:15:14 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6C13D2312B for ; Sat, 5 Dec 2020 14:15:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6C13D2312B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qisgj23tdY8CQaTpEXnz06a8DhskaFoOYhW54bFTrRw=; b=xdS+2QWbVVQNMnkICgE16VqFV qsncMLtrLjYj9EicWlJqIXFHOSjJas5NrKms7nVc0yNonCGyMwzhtxJ97JbTBDWCOjyHiFUasWZNR KBc1bAkEwbWUPxAPEOdKoyHDbUcmLlzucGRNVElH3TNjQvsK+oqIzoLAsJTB89kUw9Z/qb34sRXOn Sl8d3nS0OOuDQCUU3kfhQj2qCsDaC6YjTb88kiOGe17ukpsRBgC+Zo+v1p7J/miK+cavCoZARlVQ6 2qCKPnjQ56cdKCkm7z3dy9kLxwjXdVEO2lIAB03AdTz4LJmxhzS3OBn2ne6S/gJ/J2QoIVHQfbj+X y28dj+kXw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1klYKA-0008F2-HL; Sat, 05 Dec 2020 14:14:10 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1klYK7-0008EU-D3 for linux-arm-kernel@lists.infradead.org; Sat, 05 Dec 2020 14:14:08 +0000 From: Krzysztof Kozlowski Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: Sylwester Nawrocki , Michael Turquette , Stephen Boyd , Chanwoo Choi , Tomasz Figa , Arnd Bergmann Subject: Re: [PATCH] [v2] clk: samsung: mark PM functions as __maybe_unused Date: Sat, 5 Dec 2020 15:14:01 +0100 Message-Id: <160717762368.10558.8515675598564010108.b4-ty@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201204091616.4128366-1-arnd@kernel.org> References: <20201204091616.4128366-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201205_091407_674537_73F3C7CB X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, Arnd Bergmann , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 4 Dec 2020 10:16:11 +0100, Arnd Bergmann wrote: > The use of SIMPLE_DEV_PM_OPS() means that the suspend/resume > functions are now unused when CONFIG_PM is disabled: > > drivers/clk/samsung/clk-exynos-clkout.c:219:12: error: 'exynos_clkout_resume' defined but not used [-Werror=unused-function] > 219 | static int exynos_clkout_resume(struct device *dev) > | ^~~~~~~~~~~~~~~~~~~~ > drivers/clk/samsung/clk-exynos-clkout.c:210:12: error: 'exynos_clkout_suspend' defined but not used [-Werror=unused-function] > 210 | static int exynos_clkout_suspend(struct device *dev) > | ^~~~~~~~~~~~~~~~~~~~~ > > [...] Applied, thanks! [1/1] clk: samsung: mark PM functions as __maybe_unused commit: 4c44274ee457e3f7012dc532c8c9cc8964a82612 Best regards, -- Krzysztof Kozlowski _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel