[OpenWrt-Devel] [PATCH 03/32] atheros: use NULL instead of plain integer

Sergey Ryazanov ryazanov.s.a at gmail.com
Thu Sep 11 22:00:20 EDT 2014


Signed-off-by: Sergey Ryazanov <ryazanov.s.a at gmail.com>
---
 target/linux/atheros/patches-3.14/100-board.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/atheros/patches-3.14/100-board.patch b/target/linux/atheros/patches-3.14/100-board.patch
index 383ffa3..c60c9e3 100644
--- a/target/linux/atheros/patches-3.14/100-board.patch
+++ b/target/linux/atheros/patches-3.14/100-board.patch
@@ -212,7 +212,7 @@
 +
 +	if (!found) {
 +		pr_warn("WARNING: Could not find Radio Configuration data\n");
-+		radio_config = 0;
++		radio_config = NULL;
 +	}
 +
 +	return radio_config;
-- 
1.8.1.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list