All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] bus: ti-sysc: mark PM functions as __maybe_unused
Date: Fri, 13 Oct 2017 10:27:37 -0700	[thread overview]
Message-ID: <20171013172736.GP4394@atomide.com> (raw)
In-Reply-To: <20171013092554.531186-1-arnd@arndb.de>

* Arnd Bergmann <arnd@arndb.de> [171013 02:27]:
> The new bus driver causes a harmless compile-time warning when
> CONFIG_PM is disabled:
> 
> drivers/bus/ti-sysc.c:440:12: error: 'sysc_runtime_resume' defined but not used [-Werror=unused-function]
>  static int sysc_runtime_resume(struct device *dev)
>             ^~~~~~~~~~~~~~~~~~~
> drivers/bus/ti-sysc.c:421:12: error: 'sysc_runtime_suspend' defined but not used [-Werror=unused-function]
>  static int sysc_runtime_suspend(struct device *dev)
>             ^~~~~~~~~~~~~~~~~~~~
> 
> This marks the two unused functions as __maybe_unused to shut up
> that warning.

Thanks applying into omap-for-v4.15/ti-sysc.

Regards,

Tony

      reply	other threads:[~2017-10-13 17:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-13  9:25 [PATCH] bus: ti-sysc: mark PM functions as __maybe_unused Arnd Bergmann
2017-10-13 17:27 ` Tony Lindgren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171013172736.GP4394@atomide.com \
    --to=tony@atomide.com \
    --cc=arnd@arndb.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.