From 34828e007709d12b61eb545252db205ef328caf5 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Thu, 6 Nov 2014 15:10:38 +0100 Subject: blspec: fix incompatible pointer type warning The warning is correct in that we pass in size_t instead of int. As we are not interested in the size of the property at this point, just remove the assignment. Signed-off-by: Lucas Stach Signed-off-by: Sascha Hauer --- common/blspec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/blspec.c') diff --git a/common/blspec.c b/common/blspec.c index a4adc48da9..f46a11d44c 100644 --- a/common/blspec.c +++ b/common/blspec.c @@ -294,7 +294,7 @@ static bool entry_is_of_compatible(struct blspec_entry *entry) } pr_info("ignoring entry with incompatible devicetree \"%s\"\n", - (char *)of_get_property(root, "compatible", &size)); + (char *)of_get_property(root, "compatible", NULL)); ret = false; -- cgit v1.2.3