Skip to contentSkip to conversation

Patch "clk: meson: Fix meson_clk_register_clks() signature type mismatch" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message May 6, 2016

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

clk: meson: Fix meson_clk_register_clks() signature type mismatch

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
clk-meson-fix-meson_clk_register_clks-signature-type-mismatch.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From bb473593c8099302bfd7befc23de67df907e3a99 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <[email protected]>
Date: Sun, 7 Feb 2016 22:13:03 +0100
Subject: clk: meson: Fix meson_clk_register_clks() signature type mismatch
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From: Andreas Färber <[email protected]>

commit bb473593c8099302bfd7befc23de67df907e3a99 upstream.

As preparation for arm64 based mesongxbb, which pulls in this code once enabling ARCH_MESON, fix a size_t vs. unsigned int type mismatch. The loop uses a local unsigned int variable, so adopt that type, matching the header.

Fixes 7a29a869434e ("clk: meson: Add support for Meson clock controller")
---
 drivers/clk/meson/clkc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/meson/clkc.c +1 -1
@@ -198,7 +198,7 @@ meson_clk_register_fixed_rate(const stru
 }
 
 void __init meson_clk_register_clks(const struct clk_conf *clk_confs,
-				    size_t nr_confs,
+				    unsigned int nr_confs,
 				    void __iomem *clk_base)
 {
 	unsigned int i;

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/clk-meson-fix-meson_clk_register_clks-signature-type-mismatch.patch