From: Kalle Valo <kvalo-sgV2jX0FEOL9JmXXK+q4OQ@public•gmane.org>
To: Arnd Bergmann <arnd-r2nGTMty4D4@public•gmane.org>
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public•gmane.org,
linux-mips-6z/3iImG2C8G8FEW9MqTrA@public•gmane.org,
"Hauke Mehrtens" <hauke-5/S+JYg5SzeELgA04lAiVw@public•gmane.org>,
"Rafał Miłecki" <zajec5-Re5JQEeQqe8AvxtiuMwx3w@public•gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public•gmane.org,
"Michael Buesch" <m@bues•ch>,
netdev-u79uwXL29TY76Z2rM5mHXA@public•gmane.org,
linux-wireless-u79uwXL29TY76Z2rM5mHXA@public•gmane.org
Subject: Re: [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-r2nGTMty4D4@public•gmane.org> 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-r2nGTMty4D4@public•gmane.org>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public•gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-01-19 13:03 UTC|newest]
Thread overview: 19+ 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
2016-01-18 16:53 ` ssb: Set linux-wireless as MAINTAINERS list Michael Büsch
2016-01-18 19:09 ` Rafał Miłecki
2016-01-19 13:04 ` Kalle Valo
2016-01-19 19:25 ` Kalle Valo
2016-01-19 19:25 ` 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-19 19:26 ` Kalle Valo
2016-01-19 19:26 ` 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-sgv2jx0feol9jmxxk+q4oq@public$(echo .)gmane.org \
--cc=arnd-r2nGTMty4D4@public$(echo .)gmane.org \
--cc=hauke-5/S+JYg5SzeELgA04lAiVw@public$(echo .)gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public$(echo .)gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
--cc=linux-mips-6z/3iImG2C8G8FEW9MqTrA@public$(echo .)gmane.org \
--cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
--cc=m@bues$(echo .)ch \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
--cc=zajec5-Re5JQEeQqe8AvxtiuMwx3w@public$(echo .)gmane.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