From: Sachin Kamat Date: Fri, 27 Sep 2013 04:06:29 +0000 (+0530) Subject: staging: cxt1e1: sbecom_inline_linux.h: Return NULL instead of 0 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ae919922909a397fdec7cb3de798da9bc4ff81e3;p=openwrt%2Fstaging%2Fblogic.git staging: cxt1e1: sbecom_inline_linux.h: Return NULL instead of 0 Functions returning pointer should return NULL instead of 0. Signed-off-by: Sachin Kamat Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/cxt1e1/sbecom_inline_linux.h b/drivers/staging/cxt1e1/sbecom_inline_linux.h index 3c6d1c0fc6d6..ba3ff3efe063 100644 --- a/drivers/staging/cxt1e1/sbecom_inline_linux.h +++ b/drivers/staging/cxt1e1/sbecom_inline_linux.h @@ -73,7 +73,7 @@ OS_mem_token_alloc (size_t size) if (!skb) { //pr_warning("no mem in OS_mem_token_alloc !\n"); - return 0; + return NULL; } return skb; } @@ -103,7 +103,7 @@ OS_mem_token_data (void *token) static inline void * OS_mem_token_next (void *token) { - return 0; + return NULL; }