[PATCH -next] [media] pulse8-cec: fix non static symbol warning

2016-07-13 Thread weiyj_lk
From: Wei Yongjun Fixes the following sparse warning: drivers/staging/media/pulse8-cec/pulse8-cec.c:427:27: warning: symbol 'pulse8_cec_adap_ops' was not declared. Should it be static? Signed-off-by: Wei Yongjun ---

[PATCH] staging: wilc1000: fix return value check in wlan_initialize_threads()

2016-06-17 Thread weiyj_lk
From: Wei Yongjun In case of error, the function kthread_run() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun ---

[PATCH] [media] media: davinci_vpfe: fix missing unlock on error in vpfe_prepare_pipeline()

2016-02-05 Thread weiyj_lk
From: Wei Yongjun Add the missing unlock before return from function vpfe_prepare_pipeline() in the error handling case. video->lock is lock/unlock in function vpfe_open(), and no need to unlock it here, so remove unlock video->lock. Signed-off-by: Wei Yongjun

[PATCH -next] staging: unisys: virtpci: Remove unused including linux/version.h

2015-04-16 Thread weiyj_lk
From: Wei Yongjun yongjun_...@trendmicro.com.cn Remove including linux/version.h that don't need it. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/staging/unisys/virtpci/virtpci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/unisys/virtpci/virtpci.c

[PATCH] hyperv: Fix error return code in netvsc_init_buf()

2014-07-22 Thread weiyj_lk
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -ENOMEM from the kalloc error handling case instead of 0. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/net/hyperv/netvsc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git