[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 --- drivers/staging/media/pulse8-cec/pulse8-cec.c | 2 +- 1 file changed, 1 inse

[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 --- drivers/staging/wilc1000/linux_wlan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 d

[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 --- drivers/staging/media/davinc

[PATCH -next] staging: dt3155v4l: remove unused including

2015-04-16 Thread weiyj_lk
From: Wei Yongjun Remove including that don't need it. Signed-off-by: Wei Yongjun --- drivers/staging/media/dt3155v4l/dt3155v4l.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/media/dt3155v4l/dt3155v4l.c b/drivers/staging/media/dt3155v4l/dt3155v4l.c index e60a53e..7946ee

[PATCH -next] staging: unisys: virtpci: Remove unused including

2015-04-16 Thread weiyj_lk
From: Wei Yongjun Remove including that don't need it. Signed-off-by: Wei Yongjun --- drivers/staging/unisys/virtpci/virtpci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/unisys/virtpci/virtpci.c b/drivers/staging/unisys/virtpci/virtpci.c index d5ad017..397e967 100644

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

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