From d29b2a53c7c77c41fbe813aca8866098a8f7af1d Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Sun, 13 Sep 2020 15:59:04 -0700 Subject: secvar: fix Using plain integer as NULL pointer sparse warning Signed-off-by: Stewart Smith Signed-off-by: Vasant Hegde --- libstb/secvar/secvar_devtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstb/secvar/secvar_devtree.c b/libstb/secvar/secvar_devtree.c index 5903ee3..8ce2193 100644 --- a/libstb/secvar/secvar_devtree.c +++ b/libstb/secvar/secvar_devtree.c @@ -22,7 +22,7 @@ int secvar_set_secure_mode(void) if (prop) return 0; - prop = dt_add_property(sb_root, "os-secureboot-enforcing", 0, 0); + prop = dt_add_property(sb_root, "os-secureboot-enforcing", NULL, 0); if (!prop) return -2; -- cgit v1.1