From: Stephen Boyd <sboyd@codeaurora.org>
To: "Andreas Färber" <afaerber@suse.de>
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Masahiro Yamada <yamada.masahiro@socionext.com>,
Satoru OKAMOTO <okamoto.satoru@socionext.com>,
Michael Turquette <mturquette@baylibre.com>,
linux-clk@vger.kernel.org,
Jassi Brar <jaswinder.singh@linaro.org>,
Andy Green <andy.green@linaro.org>,
Vincent Yang <vincent.yang@socionext.com>,
Tetsuya Nuriya <nuriya.tetsuya@socionext.com>
Subject: Re: [PATCH 1/5] clk: mb86s7x: Suppress build
Date: Wed, 28 Jun 2017 09:13:54 -0700 [thread overview]
Message-ID: <20170628161354.GB5316@codeaurora.org> (raw)
In-Reply-To: <20170625170020.11791-2-afaerber@suse.de>
On 06/25, Andreas Färber wrote:
> It fails to build once we introduce the ARCH_MB86S7X Kconfig symbol:
>
> drivers/clk/clk-mb86s7x.c:27:10: fatal error: soc/mb86s7x/scb_mhu.h: No such file or directory
> #include <soc/mb86s7x/scb_mhu.h>
> ^~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
>
> And when commenting out that line, we get:
>
> drivers/clk/clk-mb86s7x.c: In function 'crg_gate_control':
> drivers/clk/clk-mb86s7x.c:72:8: error: implicit declaration of function 'mb86s7x_send_packet' [-Werror=implicit-function-declaration]
> ret = mb86s7x_send_packet(CMD_PERI_CLOCK_GATE_SET_REQ,
> ^~~~~~~~~~~~~~~~~~~
> drivers/clk/clk-mb86s7x.c:72:28: error: 'CMD_PERI_CLOCK_GATE_SET_REQ' undeclared (first use in this function)
> ret = mb86s7x_send_packet(CMD_PERI_CLOCK_GATE_SET_REQ,
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/clk/clk-mb86s7x.c:72:28: note: each undeclared identifier is reported only once for each function it appears in
> drivers/clk/clk-mb86s7x.c: In function 'crg_rate_control':
> drivers/clk/clk-mb86s7x.c:116:10: error: 'CMD_PERI_CLOCK_RATE_SET_REQ' undeclared (first use in this function)
> code = CMD_PERI_CLOCK_RATE_SET_REQ;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/clk/clk-mb86s7x.c:121:10: error: 'CMD_PERI_CLOCK_RATE_GET_REQ' undeclared (first use in this function); did you mean 'CMD_PERI_CLOCK_RATE_SET_REQ'?
> code = CMD_PERI_CLOCK_RATE_GET_REQ;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> CMD_PERI_CLOCK_RATE_SET_REQ
> drivers/clk/clk-mb86s7x.c: In function 'mhu_cluster_rate':
> drivers/clk/clk-mb86s7x.c:276:10: error: 'CMD_CPU_CLOCK_RATE_GET_REQ' undeclared (first use in this function)
> code = CMD_CPU_CLOCK_RATE_GET_REQ;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/clk/clk-mb86s7x.c:278:10: error: 'CMD_CPU_CLOCK_RATE_SET_REQ' undeclared (first use in this function); did you mean 'CMD_CPU_CLOCK_RATE_GET_REQ'?
> code = CMD_CPU_CLOCK_RATE_SET_REQ;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~
> CMD_CPU_CLOCK_RATE_GET_REQ
> cc1: some warnings being treated as errors
> scripts/Makefile.build:302: recipe for target
> 'drivers/clk/clk-mb86s7x.o' failed
> make[2]: *** [drivers/clk/clk-mb86s7x.o] Error 1
>
> Comment it out in the Makefile for now.
>
Why not delete the whole driver instead? It's been two years and
the driver has never compiled.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
WARNING: multiple messages have this Message-ID (diff)
From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] clk: mb86s7x: Suppress build
Date: Wed, 28 Jun 2017 09:13:54 -0700 [thread overview]
Message-ID: <20170628161354.GB5316@codeaurora.org> (raw)
In-Reply-To: <20170625170020.11791-2-afaerber@suse.de>
On 06/25, Andreas F?rber wrote:
> It fails to build once we introduce the ARCH_MB86S7X Kconfig symbol:
>
> drivers/clk/clk-mb86s7x.c:27:10: fatal error: soc/mb86s7x/scb_mhu.h: No such file or directory
> #include <soc/mb86s7x/scb_mhu.h>
> ^~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
>
> And when commenting out that line, we get:
>
> drivers/clk/clk-mb86s7x.c: In function 'crg_gate_control':
> drivers/clk/clk-mb86s7x.c:72:8: error: implicit declaration of function 'mb86s7x_send_packet' [-Werror=implicit-function-declaration]
> ret = mb86s7x_send_packet(CMD_PERI_CLOCK_GATE_SET_REQ,
> ^~~~~~~~~~~~~~~~~~~
> drivers/clk/clk-mb86s7x.c:72:28: error: 'CMD_PERI_CLOCK_GATE_SET_REQ' undeclared (first use in this function)
> ret = mb86s7x_send_packet(CMD_PERI_CLOCK_GATE_SET_REQ,
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/clk/clk-mb86s7x.c:72:28: note: each undeclared identifier is reported only once for each function it appears in
> drivers/clk/clk-mb86s7x.c: In function 'crg_rate_control':
> drivers/clk/clk-mb86s7x.c:116:10: error: 'CMD_PERI_CLOCK_RATE_SET_REQ' undeclared (first use in this function)
> code = CMD_PERI_CLOCK_RATE_SET_REQ;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/clk/clk-mb86s7x.c:121:10: error: 'CMD_PERI_CLOCK_RATE_GET_REQ' undeclared (first use in this function); did you mean 'CMD_PERI_CLOCK_RATE_SET_REQ'?
> code = CMD_PERI_CLOCK_RATE_GET_REQ;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> CMD_PERI_CLOCK_RATE_SET_REQ
> drivers/clk/clk-mb86s7x.c: In function 'mhu_cluster_rate':
> drivers/clk/clk-mb86s7x.c:276:10: error: 'CMD_CPU_CLOCK_RATE_GET_REQ' undeclared (first use in this function)
> code = CMD_CPU_CLOCK_RATE_GET_REQ;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/clk/clk-mb86s7x.c:278:10: error: 'CMD_CPU_CLOCK_RATE_SET_REQ' undeclared (first use in this function); did you mean 'CMD_CPU_CLOCK_RATE_GET_REQ'?
> code = CMD_CPU_CLOCK_RATE_SET_REQ;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~
> CMD_CPU_CLOCK_RATE_GET_REQ
> cc1: some warnings being treated as errors
> scripts/Makefile.build:302: recipe for target
> 'drivers/clk/clk-mb86s7x.o' failed
> make[2]: *** [drivers/clk/clk-mb86s7x.o] Error 1
>
> Comment it out in the Makefile for now.
>
Why not delete the whole driver instead? It's been two years and
the driver has never compiled.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2017-06-28 16:13 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-25 17:00 [PATCH 0/5] ARM: Socionext MB86S71 and Fujitsu F-Cue enablement Andreas Färber
2017-06-25 17:00 ` Andreas Färber
2017-06-25 17:00 ` Andreas Färber
2017-06-25 17:00 ` [PATCH 1/5] clk: mb86s7x: Suppress build Andreas Färber
2017-06-25 17:00 ` Andreas Färber
2017-06-28 16:13 ` Stephen Boyd [this message]
2017-06-28 16:13 ` Stephen Boyd
2017-06-28 17:32 ` Jassi Brar
2017-06-28 17:32 ` Jassi Brar
2017-06-28 17:32 ` Jassi Brar
2017-06-28 22:29 ` Stephen Boyd
2017-06-28 22:29 ` Stephen Boyd
2017-06-29 11:17 ` Andreas Färber
2017-06-29 11:17 ` Andreas Färber
2017-06-25 17:00 ` [PATCH 2/5] ARM: Prepare Socionext MB86S71 Andreas Färber
2017-06-25 17:00 ` Andreas Färber
2017-06-25 17:00 ` [PATCH 3/5] dt-bindings: arm: Document Socionext MB86S71 and Fujitsu F-Cue Andreas Färber
2017-06-25 17:00 ` Andreas Färber
2017-06-25 17:00 ` Andreas Färber
2017-06-28 16:46 ` Rob Herring
2017-06-28 16:46 ` Rob Herring
2017-06-28 16:46 ` Rob Herring
2017-06-29 12:18 ` Masahiro Yamada
2017-06-29 12:18 ` Masahiro Yamada
2017-06-29 12:18 ` Masahiro Yamada
2017-06-29 12:53 ` Andreas Färber
2017-06-29 12:53 ` Andreas Färber
2017-06-29 12:53 ` Andreas Färber
2017-06-29 17:18 ` Masahiro Yamada
2017-06-29 17:18 ` Masahiro Yamada
2017-06-29 17:18 ` Masahiro Yamada
2017-11-04 13:44 ` Andreas Färber
2017-11-04 13:44 ` Andreas Färber
2017-11-04 13:44 ` Andreas Färber
2017-11-04 14:57 ` Ard Biesheuvel
2017-11-04 14:57 ` Ard Biesheuvel
2017-11-04 15:30 ` Andreas Färber
2017-11-04 15:30 ` Andreas Färber
2017-11-04 15:30 ` Andreas Färber
2017-11-04 15:39 ` Ard Biesheuvel
2017-11-04 15:39 ` Ard Biesheuvel
2017-11-04 20:06 ` Andreas Färber
2017-11-04 20:06 ` Andreas Färber
2017-11-04 20:06 ` Andreas Färber
2017-11-04 20:39 ` Ard Biesheuvel
2017-11-04 20:39 ` Ard Biesheuvel
2017-11-06 6:58 ` Andreas Färber
2017-11-06 6:58 ` Andreas Färber
2017-11-06 6:58 ` Andreas Färber
2017-11-06 8:05 ` Yang Zhang
2017-11-06 8:05 ` Yang Zhang
2017-11-06 11:28 ` Ard Biesheuvel
2017-11-06 11:28 ` Ard Biesheuvel
2017-11-06 11:28 ` Ard Biesheuvel
2017-11-13 15:40 ` Andreas Färber
2017-11-13 15:40 ` Andreas Färber
2017-11-13 15:40 ` Andreas Färber
2017-11-13 15:55 ` Ard Biesheuvel
2017-11-13 15:55 ` Ard Biesheuvel
2017-06-25 17:00 ` [PATCH 4/5] ARM: dts: Add " Andreas Färber
2017-06-25 17:00 ` Andreas Färber
2017-06-25 17:00 ` [PATCH 5/5] ARM: dts: mb86s71-f-cue: Add fake UART0 clock Andreas Färber
2017-06-25 17:00 ` Andreas Färber
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=20170628161354.GB5316@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=afaerber@suse.de \
--cc=andy.green@linaro.org \
--cc=jaswinder.singh@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=nuriya.tetsuya@socionext.com \
--cc=okamoto.satoru@socionext.com \
--cc=vincent.yang@socionext.com \
--cc=yamada.masahiro@socionext.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.