Re: [PATCH -next] <linux/of.h>: add stub for of_get_next_parent() to fix qcom build error

From: Randy Dunlap
Date: Fri Jul 10 2020 - 19:40:12 EST


On 7/10/20 8:28 AM, Rob Herring wrote:
> On Mon, Jun 29, 2020 at 10:43 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>>
>> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>>
>> Fix a (COMPILE_TEST) build error when CONFIG_OF is not set/enabled
>> by adding a stub for of_get_next_parent().
>>
>> ../drivers/soc/qcom/qcom-geni-se.c:819:11: error: implicit declaration of function 'of_get_next_parent'; did you mean 'of_get_parent'? [-Werror=implicit-function-declaration]
>> ../drivers/soc/qcom/qcom-geni-se.c:819:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
>>
>
> Fixes tag?

Are linux-next hashes/tags stable?

Fixes: 048eb908a1f2 ("soc: qcom-geni-se: Add interconnect support to fix earlycon crash")

>> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>> Cc: Rob Herring <robh+dt@xxxxxxxxxx>
>> Cc: Frank Rowand <frowand.list@xxxxxxxxx>
>> Cc: devicetree@xxxxxxxxxxxxxxx
>> Cc: Andy Gross <agross@xxxxxxxxxx>
>> Cc: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
>> Cc: linux-arm-msm@xxxxxxxxxxxxxxx
>> ---
>> include/linux/of.h | 5 +++++
>> 1 file changed, 5 insertions(+)
>
> I'm assuming this will be applied to the tree that introduced the problem.
>
> Acked-by: Rob Herring <robh@xxxxxxxxxx>
>

Hi Akash,
Can you add this patch to your tree, as Rob indicated above?

thanks.
--
~Randy