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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 49376C433F5 for ; Wed, 8 Dec 2021 10:43:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:CC:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jF4NdpR9FxqYu21v/9f1XxkKVP2+jgZsw+qq/ED/JNw=; b=mia3Q3D60xf+iSGZ7kTY8xqB1d VCz2OewUIbE/xQf3ZGeuy5Jnb6oOS4ZSo1eMGNkTg+BgvHrVNcw6sNvYK2dwlSPx5wdcebk9dsoGT tBuXmpS/O0rtX3KZx9YVVkeOMNkCjg08ahzGf0/kp3Ay1ZUbBxi0G+gJYKFiLUbKBbEHioPidCt2+ mVnszCj5o82HZKrJQlMxPa0XHd1ad76o+Vw3sPxxCKQXfOhtpek3/cbd6eozXHRbqDotOmdGQqQpb zRJP0e7rL7vXOaAx5DR3N3UKzgOmImLWhT9ciT6RLDt0uugsrKSBCZYIg62uKAK+mdp5JxJg/gSuD 7s1Lq6Lw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muuO5-00C9lN-Ag; Wed, 08 Dec 2021 10:41:25 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1muuNy-00C9jT-C5 for linux-arm-kernel@lists.infradead.org; Wed, 08 Dec 2021 10:41:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1638960078; x=1670496078; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=6efhgTwOQ+BksN3W7gKk5cPv0gbAT3aa2LCJO+xICYQ=; b=puUANxEXnNTwghZPm7sWcOurp1Tp+pd1pw8HSKsNQoFWOZ4wXehYgfU4 6kpf87jCkvnvLODmDGienhBE6BcdPFHWoJ942wE9uwKhSgvH67OZPiz5z h6jI5jULBLZnAdvvdxIV7rlpQohz5T4aAKqFjln3eb7H0JgyDZl1FXjle rlLF1Z9IrT5buO1QSs6Ji/ItoFAiQ5poqH5PRWh2cK0v/lHgdTcPkNFzE J/5IoI0MsS/aGBLTAiILD5i4B0lyeM8AthfpGfyQzfUIvQtS3SZON+UQ6 ywqcvsWVBG1uKTWbFtpPZ+uV6gAcZqtsEON54MYece7WzWIZlsTheAKFH A==; IronPort-SDR: 7xfYPdqh5WDhRFwQy2okqjSInim4M7SOkW/D5djAO8OJCGLySXu5FfT+JZ6qWa/UETRCdcFiuq xaEIWSJv9e1BTSTNXZw35iTSlVslr9fwA6TmRvaxbL9WRiQgfcgoSqwBf+peR67tsLOfZ/n423 coYIfMoGVHj9O6W1Ij0tNPh1v4Enk66Q1qiGELpenwx/nAI8SME0ZuWZnIi9EkPs4b1o1YW2Tl q4zepRxPAXfepy1HQtERDlH6Idqf54XsMGanoAwgWJ2GT2Xt2WDLId5gQ/3OLYiWmwS+owjzy1 gPQd8Uj0ON4nqOV+R62PhiMw X-IronPort-AV: E=Sophos;i="5.87,297,1631602800"; d="scan'208";a="141705605" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 08 Dec 2021 03:41:16 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Wed, 8 Dec 2021 03:41:15 -0700 Received: from [10.12.73.2] (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Wed, 8 Dec 2021 03:41:13 -0700 Subject: Re: [PATCH] dmaengine: at_xdmac: fix compilation warning To: Claudiu Beznea , , , CC: , , , kernel test robot References: <20211025074002.722504-1-claudiu.beznea@microchip.com> From: Nicolas Ferre Organization: microchip Message-ID: Date: Wed, 8 Dec 2021 11:41:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20211025074002.722504-1-claudiu.beznea@microchip.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211208_024118_533435_F4474AA1 X-CRM114-Status: GOOD ( 18.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 25/10/2021 at 09:40, Claudiu Beznea wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > Fixed "unused variable 'atmel_xdmac_dev_pm_ops'" compilation warning > when CONFIG_PM is not defined. > > Fixes: 8e0c7e486014 ("dmaengine: at_xdmac: use pm_ptr()") > Reported-by: kernel test robot > Signed-off-by: Claudiu Beznea If needed: Acked-by: Nicolas Ferre Thanks, best regards, Nicolas > --- > drivers/dma/at_xdmac.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/dma/at_xdmac.c b/drivers/dma/at_xdmac.c > index 7fb19bd18ac3..f5d053df66a5 100644 > --- a/drivers/dma/at_xdmac.c > +++ b/drivers/dma/at_xdmac.c > @@ -2207,7 +2207,7 @@ static int at_xdmac_remove(struct platform_device *pdev) > return 0; > } > > -static const struct dev_pm_ops atmel_xdmac_dev_pm_ops = { > +static const struct dev_pm_ops __maybe_unused atmel_xdmac_dev_pm_ops = { > .prepare = atmel_xdmac_prepare, > SET_LATE_SYSTEM_SLEEP_PM_OPS(atmel_xdmac_suspend, atmel_xdmac_resume) > }; > -- > 2.33.0 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > -- Nicolas Ferre _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel