* [PATCH 0/9] v4.8 build regressions
@ 2016-08-10 21:54 Arnd Bergmann
2016-08-10 21:54 ` [PATCH 2/9] dsa: mv88e6xxx: hide unused functions Arnd Bergmann
2016-08-11 6:38 ` [PATCH 0/9] v4.8 build regressions Philipp Zabel
0 siblings, 2 replies; 4+ messages in thread
From: Arnd Bergmann @ 2016-08-10 21:54 UTC (permalink / raw)
Cc: Andrew Lunn, x86, kernel-build-reports, dri-devel,
Masahiro Yamada, Daniel Lezcano, Geert Uytterhoeven, Jiri Slaby,
Arnd Bergmann, Josh Triplett, George Spelvin, Matthias Brugger,
Ji-Ze Hong, Thomas Gleixner, linux-arm-kernel, Vivien Didelot,
Greg Kroah-Hartman, linux-kernel, netdev, Andrew Morton
This is a set of patches to address build warnings and errors that have
come up in linux-4.8 but that worked fine in v4.7. I've added the
tinyconfig warning patch in there as well, which is not a regression
but is something that shows up in the kernelci.org build bots.
The other patches address issues that either came up in kernelci.org
or in my randconfig test setup.
I have three more fixes queued up in arm-soc/fixes that I plan
to send as a pull request for -rc2 along with the other bugfixes.
All patches have been posted before, but for some reason or another
failed to make it into the merge window. I have updated the ones
that were waiting for a new version from me now, the others are
sent without modifications.
Hopefully we can get them all merged into v4.8. Please pick up
patches from the middle of the series if appropriate.
Arnd
Arnd Bergmann (7):
kconfig: tinyconfig: provide whole choice blocks to avoid warnings
dsa: mv88e6xxx: hide unused functions
drm/mediatek: add COMMON_CLK dependency
drm/mediatek: add CONFIG_OF dependency
drm/mediatek: add ARM_SMCCC dependency
clocksource: kona: fix get_counter error handling
8250/fintek: rename IRQ_MODE macro
Geert Uytterhoeven (1):
test/hash: Fix warning in two-dimensional array init
George Spelvin (1):
test/hash: Fix warning in preprocessor symbol evaluation
arch/x86/configs/tiny.config | 2 ++
drivers/clocksource/bcm_kona_timer.c | 16 ++++++++++------
drivers/gpu/drm/mediatek/Kconfig | 3 +++
drivers/net/dsa/mv88e6xxx/chip.c | 2 ++
drivers/tty/serial/8250/8250_fintek.c | 4 ++--
kernel/configs/tiny.config | 8 ++++++++
lib/test_hash.c | 8 ++++----
7 files changed, 31 insertions(+), 12 deletions(-)
--
2.9.0
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: George Spelvin <linux@sciencehorizons.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: Ji-Ze Hong (Peter Hong) <hpeter+linux_kernel@gmail.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: kernel-build-reports@lists.linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: netdev@vger.kernel.org
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Cc: x86@kernel.org
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/9] dsa: mv88e6xxx: hide unused functions
2016-08-10 21:54 [PATCH 0/9] v4.8 build regressions Arnd Bergmann
@ 2016-08-10 21:54 ` Arnd Bergmann
2016-08-13 0:32 ` David Miller
2016-08-11 6:38 ` [PATCH 0/9] v4.8 build regressions Philipp Zabel
1 sibling, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2016-08-10 21:54 UTC (permalink / raw)
To: Andrew Lunn, Vivien Didelot
Cc: Arnd Bergmann, David S. Miller, Florian Fainelli, netdev,
linux-kernel
When CONFIG_NET_DSA_HWMON is disabled, we get warnings about two unused
functions whose only callers are all inside of an #ifdef:
drivers/net/dsa/mv88e6xxx.c:3257:12: 'mv88e6xxx_mdio_page_write' defined but not used [-Werror=unused-function]
drivers/net/dsa/mv88e6xxx.c:3244:12: 'mv88e6xxx_mdio_page_read' defined but not used [-Werror=unused-function]
This adds another ifdef around the function definitions. The warnings
appeared after the functions were marked 'static', but the problem
was already there before that.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 57d3231057e9 ("net: dsa: mv88e6xxx: fix style issues")
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
---
When I first submitted it on June 23, there was a clash with some
other patches, this version is based on top of current mainline,
which contains those patches already, so it should apply cleanly.
---
drivers/net/dsa/mv88e6xxx/chip.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c
index d36aedde8cb9..d1d9d3cf9139 100644
--- a/drivers/net/dsa/mv88e6xxx/chip.c
+++ b/drivers/net/dsa/mv88e6xxx/chip.c
@@ -3187,6 +3187,7 @@ static int mv88e6xxx_set_addr(struct dsa_switch *ds, u8 *addr)
return err;
}
+#ifdef CONFIG_NET_DSA_HWMON
static int mv88e6xxx_mdio_page_read(struct dsa_switch *ds, int port, int page,
int reg)
{
@@ -3212,6 +3213,7 @@ static int mv88e6xxx_mdio_page_write(struct dsa_switch *ds, int port, int page,
return ret;
}
+#endif
static int mv88e6xxx_port_to_mdio_addr(struct mv88e6xxx_chip *chip, int port)
{
--
2.9.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/9] v4.8 build regressions
2016-08-10 21:54 [PATCH 0/9] v4.8 build regressions Arnd Bergmann
2016-08-10 21:54 ` [PATCH 2/9] dsa: mv88e6xxx: hide unused functions Arnd Bergmann
@ 2016-08-11 6:38 ` Philipp Zabel
1 sibling, 0 replies; 4+ messages in thread
From: Philipp Zabel @ 2016-08-11 6:38 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Andrew Lunn, x86, kernel-build-reports, Greg Kroah-Hartman,
Daniel Lezcano, Josh Triplett, dri-devel, linux-kernel,
Masahiro Yamada, netdev, Geert Uytterhoeven, George Spelvin,
Jiri Slaby, Matthias Brugger, Ji-Ze Hong, Andrew Morton,
Vivien Didelot, Thomas Gleixner, linux-arm-kernel
Am Mittwoch, den 10.08.2016, 23:54 +0200 schrieb Arnd Bergmann:
> This is a set of patches to address build warnings and errors that have
> come up in linux-4.8 but that worked fine in v4.7. I've added the
> tinyconfig warning patch in there as well, which is not a regression
> but is something that shows up in the kernelci.org build bots.
> The other patches address issues that either came up in kernelci.org
> or in my randconfig test setup.
>
> I have three more fixes queued up in arm-soc/fixes that I plan
> to send as a pull request for -rc2 along with the other bugfixes.
>
> All patches have been posted before, but for some reason or another
> failed to make it into the merge window. I have updated the ones
> that were waiting for a new version from me now, the others are
> sent without modifications.
>
> Hopefully we can get them all merged into v4.8. Please pick up
> patches from the middle of the series if appropriate.
>
> Arnd
>
> Arnd Bergmann (7):
> kconfig: tinyconfig: provide whole choice blocks to avoid warnings
> dsa: mv88e6xxx: hide unused functions
> drm/mediatek: add COMMON_CLK dependency
> drm/mediatek: add CONFIG_OF dependency
> drm/mediatek: add ARM_SMCCC dependency
I have picked up the three drm/mediatek patches.
regards
Philipp
> clocksource: kona: fix get_counter error handling
> 8250/fintek: rename IRQ_MODE macro
>
> Geert Uytterhoeven (1):
> test/hash: Fix warning in two-dimensional array init
>
> George Spelvin (1):
> test/hash: Fix warning in preprocessor symbol evaluation
>
> arch/x86/configs/tiny.config | 2 ++
> drivers/clocksource/bcm_kona_timer.c | 16 ++++++++++------
> drivers/gpu/drm/mediatek/Kconfig | 3 +++
> drivers/net/dsa/mv88e6xxx/chip.c | 2 ++
> drivers/tty/serial/8250/8250_fintek.c | 4 ++--
> kernel/configs/tiny.config | 8 ++++++++
> lib/test_hash.c | 8 ++++----
> 7 files changed, 31 insertions(+), 12 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/9] dsa: mv88e6xxx: hide unused functions
2016-08-10 21:54 ` [PATCH 2/9] dsa: mv88e6xxx: hide unused functions Arnd Bergmann
@ 2016-08-13 0:32 ` David Miller
0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2016-08-13 0:32 UTC (permalink / raw)
To: arnd; +Cc: andrew, vivien.didelot, f.fainelli, netdev, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
Date: Wed, 10 Aug 2016 23:54:08 +0200
> When CONFIG_NET_DSA_HWMON is disabled, we get warnings about two unused
> functions whose only callers are all inside of an #ifdef:
>
> drivers/net/dsa/mv88e6xxx.c:3257:12: 'mv88e6xxx_mdio_page_write' defined but not used [-Werror=unused-function]
> drivers/net/dsa/mv88e6xxx.c:3244:12: 'mv88e6xxx_mdio_page_read' defined but not used [-Werror=unused-function]
>
> This adds another ifdef around the function definitions. The warnings
> appeared after the functions were marked 'static', but the problem
> was already there before that.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: 57d3231057e9 ("net: dsa: mv88e6xxx: fix style issues")
> Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
> ---
> When I first submitted it on June 23, there was a clash with some
> other patches, this version is based on top of current mainline,
> which contains those patches already, so it should apply cleanly.
Applied, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-08-13 0:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-10 21:54 [PATCH 0/9] v4.8 build regressions Arnd Bergmann
2016-08-10 21:54 ` [PATCH 2/9] dsa: mv88e6xxx: hide unused functions Arnd Bergmann
2016-08-13 0:32 ` David Miller
2016-08-11 6:38 ` [PATCH 0/9] v4.8 build regressions Philipp Zabel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).