Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp981284pxb; Tue, 26 Oct 2021 00:05:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvOk3w2g4GIePcNrG1VQnm6jWtdGA71yih3Amagsb3kOYfzmw0znJj3GFbqkS5DVD+LuHz X-Received: by 2002:a05:6402:152:: with SMTP id s18mr34078454edu.356.1635231920974; Tue, 26 Oct 2021 00:05:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635231920; cv=none; d=google.com; s=arc-20160816; b=jrOAC+PURQt40WGgRipHoRtnCLri5CPwdobseYWQZuqP6luS3/NCHyd8LMO0AufBDb FMPWwBUC/fi6InKNc8FL6+jsCQNs2TSLOfwTRfAFSWyTVT0zcW34BZjr8DvsdoDIOcMR TsVl+IokNd5ICATHwmFh82l4pwF+89W44oSbqjsFy6bcGx2Tc3MFeUmWBcg5fxwrFF+e SRgY726+UuAi0usKV5xi6YIxSHJ0TM2HtQxgvyrVVIaZPn3e6RCmsb6HgCqf+agWA8Uk gvt9+8+KNvic2WGtK49DyAXhObWagk8pfqrgpIXhjbi3KEKutqMS8HvfTq4P0wmN/x1G BQow== 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:dkim-signature; bh=IKrEuGvvdx8kxjsuWnpwzbpoe01K1QRTj4qLKzCF3+0=; b=gmtZI4D6YPT4zhDa00kdgcJVIKPtwHjC9SySmMA3l6Y9UwlnoOyKhSG+VUuCZkIlzU abxmXt/FKwWILb/011zkK4X5n6/bQBms7Z4Z0Wf9Zm/ePsq1ck/yXrvnj2/X6Vzcn4ZE Zpd4csyySJ0ymgjNJhHH1WKdUsIoA9oPVaj5hXsz1VE4dHItc91b3rsRYnVl8+CTdNcC A9490wg9afz0nJbpSeW0cBm0dzrx7pyEX3XBSKYZafsEeUV3bsPH1b6cZWgv8EPYIh5M A6togLSzhxbwcaXTQmobMDUDrlKVRkG13ahLvuRzkIi3qGsfrQGqW64kYXkvLo4xQ/82 UWsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DgDq31sE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si42733918edc.529.2021.10.26.00.04.54; Tue, 26 Oct 2021 00:05:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DgDq31sE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231338AbhJZEZY (ORCPT + 99 others); Tue, 26 Oct 2021 00:25:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:57214 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231164AbhJZEZX (ORCPT ); Tue, 26 Oct 2021 00:25:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5F9336103C; Tue, 26 Oct 2021 04:22:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635222180; bh=5a9A9jUrWj/VSmZBsEtQ6pQ+MWERbmpRwQykDkKGiyE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DgDq31sEtRXi6Qaz+EUZoII+/wwIqdGLEA8EvDtI1SL3Y8jtHOu0PvCE8GbJKXS+o exKFuZUz8gptatWx01gnMsf1ID6+3uGppafEAq4ur1JgNn8JhKvqxVWDOSGzKPXgpC 6DUE9jj1HzP6tP/Lq/S3B85Y6u38vY5+idVcrerU6wIy5sn8pZHy23oikdSI9O0JD1 monBBDtCWBcLVR6iDL5H+vs+zWN0qoYNRvhyee3ytedFk7SuSgcPeKrgD4Za70+r0A Mx5d7hFza8Mv2JUoLWusILFBNkQGDU12VaH9ldANUqSdlPAZJjvBe2DTscAPlC2e3W fBnai+/MUUmUg== Date: Tue, 26 Oct 2021 09:52:55 +0530 From: Vinod Koul To: Cai Huoqing Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: sa11x0: Mark PM functions as __maybe_unused Message-ID: References: <20211026020508.550-1-caihuoqing@baidu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211026020508.550-1-caihuoqing@baidu.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26-10-21, 10:05, Cai Huoqing wrote: > Without CONFIG_PM_SLEEP, the runtime suspend/resume functions > are unused, producing a warning: > > ../drivers/dma/sa11x0-dma.c:1042:12: error: 'sa11x0_dma_resume' defined but not used > ../drivers/dma/sa11x0-dma.c:1004:12: error: 'sa11x0_dma_suspend' defined but not used Applied, thanks -- ~Vinod