public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: kvalo@codeaurora•org (Kalle Valo)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH, RESEND^2] ssb: mark ssb_bus_register as __maybe_unused
Date: Tue, 19 Jan 2016 15:03:45 +0200	[thread overview]
Message-ID: <877fj567ri.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <6063400.39vor3soEb@wuerfel> (Arnd Bergmann's message of "Mon, 18 Jan 2016 20:39:56 +0100")

Arnd Bergmann <arnd@arndb•de> writes:

> The SoC variant of the ssb code is now optional like the other
> ones, which means we can build the framwork without any
> front-end, but that results in a warning:
>
> drivers/ssb/main.c:616:12: warning: 'ssb_bus_register' defined but not used [-Wunused-function]
>
> This annotates the ssb_bus_register function as __maybe_unused to
> shut up the warning. A configuration like this will not work on
> any hardware of course, but we still want this to silently build
> without warnings if the configuration is allowed in the first
> place.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb•de>
> Fixes: 845da6e58e19 ("ssb: add Kconfig entry for compiling SoC related code")
> Acked-by: Michael Buesch <m@bues•ch>
> ---
> Resent to linux-wireless as requested

Thanks, and sorry for the hassle. I'm planning to push this to 4.5.

-- 
Kalle Valo

  reply	other threads:[~2016-01-19 13:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-13 22:51 [PATCH] ssb: host_soc depends on sprom Arnd Bergmann
2016-01-14  6:46 ` Kalle Valo
2016-01-14 21:46   ` David Miller
2016-01-14 23:13   ` [PATCH, RESEND] ssb: mark ssb_bus_register as __maybe_unused Arnd Bergmann
2016-01-16 12:10     ` Kalle Valo
2016-01-16 14:44       ` Rafał Miłecki
2016-01-18  8:26         ` Kalle Valo
     [not found]           ` <20160118175303.19164539@wiggum>
2016-01-18 19:09             ` ssb: Set linux-wireless as MAINTAINERS list Rafał Miłecki
2016-01-19 13:04               ` Kalle Valo
2016-01-19 19:25             ` Kalle Valo
2016-01-18 19:39   ` [PATCH, RESEND^2] ssb: mark ssb_bus_register as __maybe_unused Arnd Bergmann
2016-01-19 13:03     ` Kalle Valo [this message]
2016-01-19 19:26     ` [RESEND^2] " Kalle Valo
2016-01-14  8:45 ` [PATCH] ssb: host_soc depends on sprom Rafał Miłecki

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=877fj567ri.fsf@kamboji.qca.qualcomm.com \
    --to=kvalo@codeaurora$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox