lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 10 Jul 2020 13:49:32 +0530
From:   Akash Asthana <akashast@...eaurora.org>
To:     robh+dt@...nel.org
Cc:     bjorn.andersson@...aro.org, mka@...omium.org,
        linux-kernel@...r.kernel.org, saipraka@...eaurora.org,
        msavaliy@...eaurora.org, Akash Asthana <akashast@...eaurora.org>
Subject: [PATCH] of: Add stub for of_get_next_parent

Fixes compilation error reported on x86 platform:

drivers/soc/qcom/qcom-geni-se.c:819:11: error: implicit declaration of
function 'of_get_next_parent'.

drivers/soc/qcom/qcom-geni-se.c:819:9: warning: incompatible integer to
pointer conversion assigning to 'struct device_node *' from 'int'

Fixes: 048eb908a1f2 ("soc: qcom-geni-se: Add interconnect support to fix
			earlycon crash")
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Akash Asthana <akashast@...eaurora.org>
---
 include/linux/of.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/linux/of.h b/include/linux/of.h
index c669c0a..72e7198 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -630,6 +630,12 @@ static inline struct device_node *of_get_parent(const struct device_node *node)
 	return NULL;
 }
 
+static inline struct device_node *of_get_next_parent(
+	const struct device_node *node)
+{
+	return NULL;
+}
+
 static inline struct device_node *of_get_next_child(
 	const struct device_node *node, struct device_node *prev)
 {
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,\na Linux Foundation Collaborative Project

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ