mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
scripts: conftest: Fix of_property_for_each_u32 test
The conftest test for detecting the number of arguments for the macro
of_property_for_each_u32() is not working as expected because the header
file for the function pr_info() is not included. Fix and simplify this
by removing pr_info() altogether.
Bug 4749580
Change-Id: I42eb91e1cb647b44f3e0c87f1c56fe5e29a56b34
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3186544
(cherry picked from commit da1b446b64)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3188144
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
ae8e0690e8
commit
d4a130e720
@@ -7412,8 +7412,7 @@ compile_test() {
|
|||||||
char *propname) {
|
char *propname) {
|
||||||
u32 val;
|
u32 val;
|
||||||
|
|
||||||
of_property_for_each_u32(np, propname, val)
|
of_property_for_each_u32(np, propname, val);
|
||||||
pr_info(\"val %u\n\", val);
|
|
||||||
}"
|
}"
|
||||||
|
|
||||||
compile_check_conftest "$CODE" "NV_OF_PROPERTY_FOR_EACH_REMOVED_INTERNAL_ARGS" "" "types"
|
compile_check_conftest "$CODE" "NV_OF_PROPERTY_FOR_EACH_REMOVED_INTERNAL_ARGS" "" "types"
|
||||||
|
|||||||
Reference in New Issue
Block a user