Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp384729ybi; Wed, 19 Jun 2019 00:58:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCWDd1bpU8q2AmsDqpuPrRHOqe/OL3UXhKnC1aRvK3XEwJ/hWaMXdtSymjQ2+WdDJfLkz0 X-Received: by 2002:aa7:9834:: with SMTP id q20mr82469399pfl.196.1560931122760; Wed, 19 Jun 2019 00:58:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560931122; cv=none; d=google.com; s=arc-20160816; b=WS6uKPQEL80PGudBO71fz1qGCKIzMLSC2YUuIC/SrXWCkRDiWXHeU+LFNR1ik92Yp4 uN7WGLD6StvlnOp+9M4QYmjMY2cn5e/quY9OxcXBK6N6919fHsuXtd1cYa0vJ2HBv4g9 Ecq4oxxU/3xk+gucEIdE0x/5KunmHhylUg/YU/YyG5UpzQRDtDPT6/XVSronWqxveKxI q0D2x+wcSLGYJpcesTPsIvB+YklmXV7p4dbJxfKlSk9lkga9Ai4Nrf1IMv+OeaCIu7l4 rN0LveIQgEdJbnOZ2+2VMlkDCQu7LeVGN4t/gnglimZD2SzYq2aS9EROIYqpX2CJG4iE Ojrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=UYXQ8ORQAtuliQYo9/TvRwHxArXDs2AP/hpE8FcllZk=; b=TbxwIuui8SEzHwF/r5CEXcBUIPX+kiwsDdEReBVGwYEOHwGi7bcFqDn39JBSxuAkkq gb6vf7v9upzI/thkl7X335EDT8VJANeMoRs/yJiDD3DWLDp/8xgsW/CnzWm9pEnterSh 0HZ9fVlk9w5zzjwlssm8ZDv75vjLErozO91VfwolQXfhYJEy1lnkQimoBRBpq2TTJD3N Cg4qXEI81XMjanoHQ96/XtUzSO70DME9SrzCcmJGtQbwTjGRGxA3ydlgMH9qOp93onZD Nu4oRqHchVqgrfapzhXfGkW5e4N1oo54PuIxksu0prsUJUDhakGBq8ya8quI8Z7k92GA lmgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NCv3ZoWA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k13si1233146pgo.109.2019.06.19.00.58.27; Wed, 19 Jun 2019 00:58:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NCv3ZoWA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731203AbfFSH6C (ORCPT + 99 others); Wed, 19 Jun 2019 03:58:02 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:40006 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726142AbfFSH6C (ORCPT ); Wed, 19 Jun 2019 03:58:02 -0400 Received: by mail-lj1-f196.google.com with SMTP id a21so2267893ljh.7 for ; Wed, 19 Jun 2019 00:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=UYXQ8ORQAtuliQYo9/TvRwHxArXDs2AP/hpE8FcllZk=; b=NCv3ZoWAGJtU7GIADPpPY3/1luv0podsGDANGlNUgxCq6hj3bdfpRh1yHBmWoNpPHG kAE8ed9fToOV/cTtHWp0D+V9Jb8avi5LQI5pZOd+XXwxUYlmopjhMzPDa63SSrvTkycA ADLQvHuYghv3jU6NM4n1lZPp9uVpbCk/3dLZys1NRdN5TRQmtzW75qIbImXTXAnM2Rct /TbMb6BOhGZsu6fZMd7f2JACUIdCbk9qBos/WwikaZ+Gv2RzUwLP56X/ScCTHVVaLtCM SMWnhyRrv9VxUkL/iAWtP6TJ5oAkHTl/AIUuVC9hRYva9A91Oq1LAcJ6NAxllzYZZeQG 0Agg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=UYXQ8ORQAtuliQYo9/TvRwHxArXDs2AP/hpE8FcllZk=; b=nYZrbXNK37K6ieb351tWgilcIhrtdfGLYZ2OG6UHlZCIS9Xfu2GHWnKVT2Zf4MZnGd IbpdzY7tp7bUwxvicMgzikeg2T9qcnpAS0aVR+ivliMo8nAkIWSj5m2jx6yw3NIIP2ZB xmS50nMD30cMYtIMI2HP3EjfiM9i13Hmu1Jkt0CMvyt05KGll0ZH3pYjnu11LdBEvBNt JxjNIOl2Pe+yyOJHutjxDQQr7KV3jeueIBog6W7skmYbPSivjuoicYGUFdLrwjuMMarf hfMvFeTTfljDExevnSksUECn70iWb+OCotFdByEFoBUhP2qL1/WownXDYSpi39N8Jxpb DmGg== X-Gm-Message-State: APjAAAWrPvV36XbUCsfrCoZ54twPXINsvaokkPez6i+bTSQOVHdlaxVb E2MkWXiVWckEwevzisOz1I813lpOKsHNmF69hcTcApwttxE= X-Received: by 2002:a2e:5d46:: with SMTP id r67mr35872518ljb.187.1560931080308; Wed, 19 Jun 2019 00:58:00 -0700 (PDT) MIME-Version: 1.0 References: <20190108143713.15120-1-anders.roxell@linaro.org> <20190110081615.GD5213@ulmo> In-Reply-To: From: Anders Roxell Date: Wed, 19 Jun 2019 09:57:49 +0200 Message-ID: Subject: Re: [PATCH] mailbox: tegra-hsp: mark PM functions as __maybe_unused To: Thierry Reding Cc: jassisinghbrar@gmail.com, jonathanh@nvidia.com, Linux Kernel Mailing List , linux-tegra@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 19 Jun 2019 at 09:56, Anders Roxell wrot= e: > > On Thu, 10 Jan 2019 at 09:16, Thierry Reding w= rote: > > > > On Tue, Jan 08, 2019 at 03:37:13PM +0100, Anders Roxell wrote: > > > Without CONFIG_PM_SLEEP, we get annoying warnings about unused > > > functions: > > > > > > drivers/mailbox/tegra-hsp.c:782:12: warning: =E2=80=98tegra_hsp_resum= e=E2=80=99 defined but not used [-Wunused-function] > > > static int tegra_hsp_resume(struct device *dev) > > > ^~~~~~~~~~~~~~~~ > > > > > > Mark them as __maybe_unused to shut up the warning and silently drop = the > > > functions without having to add ugly #ifdefs. > > > > > > Fixes: 9a63f0f40599 ("mailbox: tegra-hsp: Add suspend/resume support"= ) > > > Signed-off-by: Anders Roxell > > > --- > > > drivers/mailbox/tegra-hsp.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > Acked-by: Thierry Reding > > Will this be picked up ? its already solved. Sorry for the noice. =3D/ Anders > > Cheers, > Anders