Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1329648

Re: [PATCH] clk: meson: Fix meson_clk_register_clks() signature type mismatch

From Andreas Färber <afaerber@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: meson: Fix meson_clk_register_clks() signature type mismatch
Date 2016-02-08 23:30 +0100
Message-ID <r02tJ-33a-31@gated-at.bofh.it> (permalink)
References <qZEUp-3tx-5@gated-at.bofh.it> <r02k3-2Zq-31@gated-at.bofh.it>
Organization SUSE Linux GmbH

Show all headers | View raw


Am 08.02.2016 um 23:15 schrieb Stephen Boyd:
> On 02/07, Andreas Färber wrote:
>> 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")
>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>> ---
> 
> Applied to clk-next. It would have been nice to have the
> compilation error though

Ask and you shall receive:

  CC      drivers/clk/meson/clkc.o
drivers/clk/meson/clkc.c:200:13: error: conflicting types for
'meson_clk_register_clks'
 void __init meson_clk_register_clks(const struct clk_conf *clk_confs,
             ^
In file included from drivers/clk/meson/clkc.c:22:0:
drivers/clk/meson/clkc.h:180:6: note: previous declaration of
'meson_clk_register_clks' was here
 void meson_clk_register_clks(const struct clk_conf *clk_confs,
      ^
scripts/Makefile.build:258: recipe for target 'drivers/clk/meson/clkc.o'
failed
make[3]: *** [drivers/clk/meson/clkc.o] Error 1
scripts/Makefile.build:407: recipe for target 'drivers/clk/meson' failed
make[2]: *** [drivers/clk/meson] Error 2
scripts/Makefile.build:407: recipe for target 'drivers/clk' failed
make[1]: *** [drivers/clk] Error 2
Makefile:959: recipe for target 'drivers' failed
make: *** [drivers] Error 2

Not really telling, is it. ;)

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] clk: meson: Fix meson_clk_register_clks() signature type mismatch Andreas Färber <afaerber@suse.de> - 2016-02-07 22:20 +0100
  Re: [PATCH] clk: meson: Fix meson_clk_register_clks() signature type mismatch Carlo Caione <carlo@caione.org> - 2016-02-08 09:40 +0100
    Re: [PATCH] clk: meson: Fix meson_clk_register_clks() signature type mismatch Carlo Caione <carlo@caione.org> - 2016-02-08 10:00 +0100
    Re: [PATCH] clk: meson: Fix meson_clk_register_clks() signature type  mismatch Andreas Färber <afaerber@suse.de> - 2016-02-08 12:00 +0100
  Re: [PATCH] clk: meson: Fix meson_clk_register_clks() signature type  mismatch Stephen Boyd <sboyd@codeaurora.org> - 2016-02-08 23:20 +0100
    Re: [PATCH] clk: meson: Fix meson_clk_register_clks() signature type  mismatch Andreas Färber <afaerber@suse.de> - 2016-02-08 23:30 +0100

csiph-web