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 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
8c52af9b59
commit
da1b446b64
@@ -7475,8 +7475,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