From: Wei Yongjun
Make sure dmi_system_id tables are NULL terminated.
Signed-off-by: Wei Yongjun
---
sound/soc/intel/atom/sst/sst_acpi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/intel/atom/sst/sst_acpi.c
b/sound/soc/intel/atom/sst/sst_acpi.c
index ba5c0d7..0a88537 100644
From: Wei Yongjun <weiyongj...@huawei.com>
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
fs/dlm/lowcomms.c | 3 ++-
1 file changed, 2 insertions(+), 1 delet
From: Wei Yongjun
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun
---
fs/dlm/lowcomms.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
From: Wei Yongjun <weiyongj...@huawei.com>
Fix the missing clk_disable_unprepare() before return from
phy_meson8b_usb2_power_on() in the error handling case.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/phy/phy-meson8b-usb2.c | 3 +++
1 file changed, 3 inserti
From: Wei Yongjun
Fix the missing clk_disable_unprepare() before return from
phy_meson8b_usb2_power_on() in the error handling case.
Signed-off-by: Wei Yongjun
---
drivers/phy/phy-meson8b-usb2.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/phy/phy-meson8b-usb2.c b/drivers
From: Wei Yongjun <weiyongj...@huawei.com>
In case of error, the function i915_gem_object_create() returns
ERR_PTR() not NULL. The NULL test in the return value check should
be replaced with IS_ERR().
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/gpu/drm/i915/gvt/
From: Wei Yongjun
In case of error, the function i915_gem_object_create() returns
ERR_PTR() not NULL. The NULL test in the return value check should
be replaced with IS_ERR().
Signed-off-by: Wei Yongjun
---
drivers/gpu/drm/i915/gvt/cmd_parser.c | 8
1 file changed, 4 insertions(+), 4
Commit-ID: 137baabe351e0554d06c6d5c84059fe343e2791e
Gitweb: http://git.kernel.org/tip/137baabe351e0554d06c6d5c84059fe343e2791e
Author: Wei Yongjun <weiyongj...@huawei.com>
AuthorDate: Mon, 17 Oct 2016 15:47:39 +
Committer: Thomas Gleixner <t...@linutronix.de>
CommitDate:
Commit-ID: 137baabe351e0554d06c6d5c84059fe343e2791e
Gitweb: http://git.kernel.org/tip/137baabe351e0554d06c6d5c84059fe343e2791e
Author: Wei Yongjun
AuthorDate: Mon, 17 Oct 2016 15:47:39 +
Committer: Thomas Gleixner
CommitDate: Wed, 19 Oct 2016 17:28:48 +0200
mm/numa: Remove
From: Wei Yongjun <weiyongj...@huawei.com>
Fix to return a negative error code from the es2_arpc_in_enable() error
handling case instead of 0, as done elsewhere in this function.
Fixes: 9d9d3777a9db ("greybus: es2: Add a new bulk in endpoint for
APBridgeA RPC")
Signed-off
From: Wei Yongjun
Fix to return a negative error code from the es2_arpc_in_enable() error
handling case instead of 0, as done elsewhere in this function.
Fixes: 9d9d3777a9db ("greybus: es2: Add a new bulk in endpoint for
APBridgeA RPC")
Signed-off-by: Wei Yongjun
---
drivers/stagi
Hi Alexander,
On 10/18/2016 11:30 PM, Alexander Alemayhu wrote:
> On Tue, Oct 18, 2016 at 02:37:10PM +0000, Wei Yongjun wrote:
>> From: Wei Yongjun <weiyongj...@huawei.com>
>>
>> Remove duplicated include.
>>
> How did you discover that? Just curious if y
Hi Alexander,
On 10/18/2016 11:30 PM, Alexander Alemayhu wrote:
> On Tue, Oct 18, 2016 at 02:37:10PM +0000, Wei Yongjun wrote:
>> From: Wei Yongjun
>>
>> Remove duplicated include.
>>
> How did you discover that? Just curious if you used any tooling.
>
I found
Commit-ID: 10714dd37aa7ebb165677b9a793448950ff366ad
Gitweb: http://git.kernel.org/tip/10714dd37aa7ebb165677b9a793448950ff366ad
Author: Wei Yongjun <weiyongj...@huawei.com>
AuthorDate: Tue, 18 Oct 2016 15:33:12 +0100
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate: Tue,
Commit-ID: 10714dd37aa7ebb165677b9a793448950ff366ad
Gitweb: http://git.kernel.org/tip/10714dd37aa7ebb165677b9a793448950ff366ad
Author: Wei Yongjun
AuthorDate: Tue, 18 Oct 2016 15:33:12 +0100
Committer: Ingo Molnar
CommitDate: Tue, 18 Oct 2016 17:11:16 +0200
efi: Remove unused include
From: Wei Yongjun <weiyongj...@huawei.com>
Use setup_timer function instead of initializing timer with the function
and data fields
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/staging/ks7010/ks_wlan_net.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Wei Yongjun
Use setup_timer function instead of initializing timer with the function
and data fields
Signed-off-by: Wei Yongjun
---
drivers/staging/ks7010/ks_wlan_net.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/ks7010/ks_wlan_net.c
b
From: Wei Yongjun <weiyongj...@huawei.com>
Remove duplicated include.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/staging/i4l/pcbit/drv.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/i4l/pcbit/drv.c b/drivers/staging/i4l/pcbit/drv.c
i
From: Wei Yongjun
Remove duplicated include.
Signed-off-by: Wei Yongjun
---
drivers/staging/i4l/pcbit/drv.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/i4l/pcbit/drv.c b/drivers/staging/i4l/pcbit/drv.c
index 87b8522..89b0b5b 100644
--- a/drivers/staging/i4l/pcbit/drv.c
From: Wei Yongjun <weiyongj...@huawei.com>
convert list_for_each() to list_for_each_entry() where
applicable.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/staging/ks7010/ks_hostif.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/st
From: Wei Yongjun <weiyongj...@huawei.com>
Remove duplicated include.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/staging/i4l/pcbit/capi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/i4l/pcbit/capi.c b/drivers/staging/i4l/pcbit/capi.c
i
From: Wei Yongjun <weiyongj...@huawei.com>
Remove including that don't need it.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/staging/ks7010/ks_wlan.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_
From: Wei Yongjun
convert list_for_each() to list_for_each_entry() where
applicable.
Signed-off-by: Wei Yongjun
---
drivers/staging/ks7010/ks_hostif.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/staging/ks7010/ks_hostif.c
b/drivers/staging/ks7010
From: Wei Yongjun
Remove duplicated include.
Signed-off-by: Wei Yongjun
---
drivers/staging/i4l/pcbit/capi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/i4l/pcbit/capi.c b/drivers/staging/i4l/pcbit/capi.c
index 91f2994..a6c4e00 100644
--- a/drivers/staging/i4l/pcbit
From: Wei Yongjun
Remove including that don't need it.
Signed-off-by: Wei Yongjun
---
drivers/staging/ks7010/ks_wlan.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 5851714..6981170 100644
--- a/drivers/staging
From: Wei Yongjun <weiyongj...@huawei.com>
sizeof() when applied to a pointer typed expression gives the
size of the pointer, not that of the pointed data.
Fixes: 2eb9d8cbb3c3 ("staging: rts5208: rtsx.c: Alloc sizeof struct")
Signed-off-by: Wei Yongjun <weiyongj...@huawe
From: Wei Yongjun
sizeof() when applied to a pointer typed expression gives the
size of the pointer, not that of the pointed data.
Fixes: 2eb9d8cbb3c3 ("staging: rts5208: rtsx.c: Alloc sizeof struct")
Signed-off-by: Wei Yongjun
---
drivers/staging/rts5208/rtsx.c | 2 +-
1 file
From: Wei Yongjun <weiyongj...@huawei.com>
This node pointer is returned by of_find_compatible_node() with
refcount incremented in this function. of_node_put() on it before
exitting this function.
This is detected by Coccinelle semantic patch.
Signed-off-by: Wei Yongjun <weiyongj...@h
From: Wei Yongjun
This node pointer is returned by of_find_compatible_node() with
refcount incremented in this function. of_node_put() on it before
exitting this function.
This is detected by Coccinelle semantic patch.
Signed-off-by: Wei Yongjun
---
drivers/staging/greybus/arche-platform.c
From: Wei Yongjun <weiyongj...@huawei.com>
Fix to return error code -ENXIO from the nd_label_alloc_slot() error
handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/nvdimm/label.c | 4 +++-
1 file changed,
From: Wei Yongjun
Fix to return error code -ENXIO from the nd_label_alloc_slot() error
handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun
---
drivers/nvdimm/label.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/nvdimm
From: Wei Yongjun <weiyongj...@huawei.com>
Remove duplicated include.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
mm/mprotect.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/mprotect.c b/mm/mprotect.c
index bcdbe62..1193652 100644
--- a/mm/mprotect.c
+++ b/m
From: Wei Yongjun
Remove duplicated include.
Signed-off-by: Wei Yongjun
---
mm/mprotect.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/mprotect.c b/mm/mprotect.c
index bcdbe62..1193652 100644
--- a/mm/mprotect.c
+++ b/mm/mprotect.c
@@ -25,7 +25,6 @@
#include
#include
#include
From: Wei Yongjun <weiyongj...@huawei.com>
Use setup_timer function instead of initializing timer with the function
and data fields
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/auxdisplay/img-ascii-lcd.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: Wei Yongjun
Use setup_timer function instead of initializing timer with the function
and data fields
Signed-off-by: Wei Yongjun
---
drivers/auxdisplay/img-ascii-lcd.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/auxdisplay/img-ascii-lcd.c
b/drivers
From: Wei Yongjun <weiyongj...@huawei.com>
Fixes the following sparse warning:
sound/soc/rockchip/rk3399_gru_sound.c:41:14: warning:
symbol 'rt5514_dmic_delay' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
sound/soc/rockchip/rk3399
From: Wei Yongjun
Fixes the following sparse warning:
sound/soc/rockchip/rk3399_gru_sound.c:41:14: warning:
symbol 'rt5514_dmic_delay' was not declared. Should it be static?
Signed-off-by: Wei Yongjun
---
sound/soc/rockchip/rk3399_gru_sound.c | 2 +-
1 file changed, 1 insertion(+), 1
From: Wei Yongjun <weiyongj...@huawei.com>
Remove .owner field if calls are used which set it automatically.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/staging/vc04_services/interface/vchiq_arm
From: Wei Yongjun
Remove .owner field if calls are used which set it automatically.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Wei Yongjun
---
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 1 -
1 file changed, 1 deletion(-)
diff --git
From: Wei Yongjun <weiyongj...@huawei.com>
platform_device_unregister() only calls platform_device_del() and
platform_device_put(), thus use platform_device_unregister() to
simplify the code.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/soc/fsl/qbman/qman_test
From: Wei Yongjun <weiyongj...@huawei.com>
platform_device_unregister() only calls platform_device_del() and
platform_device_put(), thus use platform_device_unregister() to
simplify the code.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/soc/fsl/qbman/qman.c | 3
From: Wei Yongjun
platform_device_unregister() only calls platform_device_del() and
platform_device_put(), thus use platform_device_unregister() to
simplify the code.
Signed-off-by: Wei Yongjun
---
drivers/soc/fsl/qbman/qman_test_stash.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions
From: Wei Yongjun
platform_device_unregister() only calls platform_device_del() and
platform_device_put(), thus use platform_device_unregister() to
simplify the code.
Signed-off-by: Wei Yongjun
---
drivers/soc/fsl/qbman/qman.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff
From: Wei Yongjun <weiyongj...@huawei.com>
Use resource_size function on resource object
instead of explicit computation.
Generated by: scripts/coccinelle/api/resource_size.cocci
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/soc/fsl/qbman/bman_ccsr.c | 3 +--
1
From: Wei Yongjun
Use resource_size function on resource object
instead of explicit computation.
Generated by: scripts/coccinelle/api/resource_size.cocci
Signed-off-by: Wei Yongjun
---
drivers/soc/fsl/qbman/bman_ccsr.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
From: Wei Yongjun <weiyongj...@huawei.com>
In case of error, the function kthread_create() 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 <weiyongj...@huawei.com>
---
drivers/staging/v
From: Wei Yongjun
In case of error, the function kthread_create() 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/vc04_services/interface/vchiq_arm/vchiq_core.c | 6 +++---
1
From: Wei Yongjun <weiyongj...@huawei.com>
In case of error, the function kthread_create() 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 <weiyongj...@huawei.com>
---
drivers/staging/v
From: Wei Yongjun
In case of error, the function kthread_create() 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/vc04_services/interface/vchiq_arm/vchiq_arm.c | 2 +-
1 file
From: Wei Yongjun <weiyongj...@huawei.com>
Remove duplicated include.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
fs/cachefiles/namei.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/cachefiles/namei.c b/fs/cachefiles/namei.c
index 41df8a2..f08253d 100644
--- a/f
From: Wei Yongjun
Remove duplicated include.
Signed-off-by: Wei Yongjun
---
fs/cachefiles/namei.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/cachefiles/namei.c b/fs/cachefiles/namei.c
index 41df8a2..f08253d 100644
--- a/fs/cachefiles/namei.c
+++ b/fs/cachefiles/namei.c
@@ -20,7
From: Wei Yongjun <weiyongj...@huawei.com>
There is no need to have the 'struct irq_domain *nps400_root_domain'
variable static since new value always be assigned before use it.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/irqchip/irq-eznps.c | 2 +-
1 fil
From: Wei Yongjun
There is no need to have the 'struct irq_domain *nps400_root_domain'
variable static since new value always be assigned before use it.
Signed-off-by: Wei Yongjun
---
drivers/irqchip/irq-eznps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
From: Wei Yongjun <weiyongj...@huawei.com>
Make sure of_device_id tables are NULL terminated.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/auxdisplay/img-ascii-lcd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/auxdisplay/img-ascii-lcd.c
b/driver
From: Wei Yongjun
Make sure of_device_id tables are NULL terminated.
Signed-off-by: Wei Yongjun
---
drivers/auxdisplay/img-ascii-lcd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/auxdisplay/img-ascii-lcd.c
b/drivers/auxdisplay/img-ascii-lcd.c
index bf43b5d..e37a4b0 100644
r <dan.carpen...@oracle.com>
Signed-off-by: Wei Yongjun <weiyj...@gmail.com>
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
index b2bc09e..68e1e6b 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
+++ b/drivers/staging/rt
r
Signed-off-by: Wei Yongjun
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
index b2bc09e..68e1e6b 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
@@ -294,8 +294,10 @@ static int rtw_r
From: Wei Yongjun <weiyongj...@huawei.com>
Fix to return a negative error code from the ppc4xx_setup_pcieh_hw()
error handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
arch/powerpc/sysdev/ppc4xx_msi.c | 3 ++-
1
From: Wei Yongjun
Fix to return a negative error code from the ppc4xx_setup_pcieh_hw()
error handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun
---
arch/powerpc/sysdev/ppc4xx_msi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
Commit-ID: b8129a1f6aaaca02d92186acf19ceb545b4b489a
Gitweb: http://git.kernel.org/tip/b8129a1f6aaaca02d92186acf19ceb545b4b489a
Author: Wei Yongjun <weiyongj...@huawei.com>
AuthorDate: Sun, 25 Sep 2016 15:36:39 +
Committer: Thomas Gleixner <t...@linutronix.de>
CommitDate:
Commit-ID: b8129a1f6aaaca02d92186acf19ceb545b4b489a
Gitweb: http://git.kernel.org/tip/b8129a1f6aaaca02d92186acf19ceb545b4b489a
Author: Wei Yongjun
AuthorDate: Sun, 25 Sep 2016 15:36:39 +
Committer: Thomas Gleixner
CommitDate: Sun, 25 Sep 2016 16:46:52 -0400
genirq: Make function
From: Wei Yongjun <weiyongj...@huawei.com>
Fix to return a negative error code from the audio_set_hw_params() error
handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/staging/most/aim-sound/sound.c | 3
From: Wei Yongjun
Fix to return a negative error code from the audio_set_hw_params() error
handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun
---
drivers/staging/most/aim-sound/sound.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
From: Wei Yongjun <weiyongj...@huawei.com>
Fixes the following sparse warning:
kernel/irq/chip.c:786:1: warning:
symbol '__irq_do_set_handler' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
kernel/irq/chip.c | 2 +-
1 file changed,
From: Wei Yongjun
Fixes the following sparse warning:
kernel/irq/chip.c:786:1: warning:
symbol '__irq_do_set_handler' was not declared. Should it be static?
Signed-off-by: Wei Yongjun
---
kernel/irq/chip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/chip.c
From: Wei Yongjun <weiyongj...@huawei.com>
Remove unneeded error handling on the result of a call
to platform_get_resource() when the value is passed to
devm_ioremap_resource().
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/char/ipmi/bt-bmc.c | 5 -
1 fil
From: Wei Yongjun
Remove unneeded error handling on the result of a call
to platform_get_resource() when the value is passed to
devm_ioremap_resource().
Signed-off-by: Wei Yongjun
---
drivers/char/ipmi/bt-bmc.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/char/ipmi/bt-bmc.c
From: Wei Yongjun <weiyongj...@huawei.com>
Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)).
Generated by: scripts/coccinelle/api/err_cast.cocci
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/gpu/ipu-v3/ipu-image-convert.c | 2 +-
1 file changed,
From: Wei Yongjun
Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)).
Generated by: scripts/coccinelle/api/err_cast.cocci
Signed-off-by: Wei Yongjun
---
drivers/gpu/ipu-v3/ipu-image-convert.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/ipu-v3
From: Wei Yongjun <weiyongj...@huawei.com>
Fix the missing clk_disable_unprepare() before return
from pwrap_probe() in the error handling case.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/soc/mediatek/mtk-pmic-wrap.c | 3 ++-
1 file changed, 2 insertions(+)
From: Wei Yongjun
Fix the missing clk_disable_unprepare() before return
from pwrap_probe() in the error handling case.
Signed-off-by: Wei Yongjun
---
drivers/soc/mediatek/mtk-pmic-wrap.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c
From: Wei Yongjun <weiyongj...@huawei.com>
Fixes the following sparse warnings:
drivers/phy/phy-rockchip-typec.c:295:16: warning:
symbol 'usb3_pll_cfg' was not declared. Should it be static?
drivers/phy/phy-rockchip-typec.c:312:16: warning:
symbol 'dp_pll_cfg' was not declared.
From: Wei Yongjun
Fixes the following sparse warnings:
drivers/phy/phy-rockchip-typec.c:295:16: warning:
symbol 'usb3_pll_cfg' was not declared. Should it be static?
drivers/phy/phy-rockchip-typec.c:312:16: warning:
symbol 'dp_pll_cfg' was not declared. Should it be static?
Signed-off
From: Wei Yongjun <weiyongj...@huawei.com>
Fix the retrn value check which testing the wrong variable
in dsi_bind().
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/gpu/drm/omapdrm/dss/dsi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dri
From: Wei Yongjun
Fix the retrn value check which testing the wrong variable
in dsi_bind().
Signed-off-by: Wei Yongjun
---
drivers/gpu/drm/omapdrm/dss/dsi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c
b/drivers/gpu/drm/omapdrm/dss
From: Wei Yongjun <weiyongj...@huawei.com>
image->lock is unlocked in some error handling path without take the
lock, so remove those unexpected unlock.
Fixes: 658bcdae9c67 ("vme: Adding Fake VME driver")
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/v
From: Wei Yongjun
image->lock is unlocked in some error handling path without take the
lock, so remove those unexpected unlock.
Fixes: 658bcdae9c67 ("vme: Adding Fake VME driver")
Signed-off-by: Wei Yongjun
---
drivers/vme/bridges/vme_fake.c | 3 ---
1 file changed, 3 deletions(-
From: Wei Yongjun <weiyongj...@huawei.com>
Fix the missing clk_disable_unprepare() before return
from uni_player_start() in the error handling case.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
sound/soc/sti/uniperif_player.c | 4 +++-
1 file changed, 3 insertions(+)
From: Wei Yongjun
Fix the missing clk_disable_unprepare() before return
from uni_player_start() in the error handling case.
Signed-off-by: Wei Yongjun
---
sound/soc/sti/uniperif_player.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sound/soc/sti/uniperif_player.c b
From: Wei Yongjun <weiyongj...@huawei.com>
Fixes the following sparse warnings:
sound/soc/codecs/rt5663.c:1367:14: warning: duplicate const
sound/soc/codecs/rt5663.c:1577:5: warning:
symbol 'rt5663_button_detect' was not declared. Should it be static?
sound/soc/codecs/rt5663.c:2857:24: w
From: Wei Yongjun
Fixes the following sparse warnings:
sound/soc/codecs/rt5663.c:1367:14: warning: duplicate const
sound/soc/codecs/rt5663.c:1577:5: warning:
symbol 'rt5663_button_detect' was not declared. Should it be static?
sound/soc/codecs/rt5663.c:2857:24: warning:
symbol
From: Wei Yongjun <weiyongj...@huawei.com>
Fixes the following sparse warning:
drivers/gpu/drm/i915/intel_dp.c:1527:5: warning:
symbol 'intel_dp_compute_bpp' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/gpu/drm/i915/in
From: Wei Yongjun
Fixes the following sparse warning:
drivers/gpu/drm/i915/intel_dp.c:1527:5: warning:
symbol 'intel_dp_compute_bpp' was not declared. Should it be static?
Signed-off-by: Wei Yongjun
---
drivers/gpu/drm/i915/intel_dp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
From: Wei Yongjun <weiyongj...@huawei.com>
Use the builtin_platform_driver() macro to make the code simpler.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/memory/atmel-sdramc.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/
From: Wei Yongjun
Use the builtin_platform_driver() macro to make the code simpler.
Signed-off-by: Wei Yongjun
---
drivers/memory/atmel-sdramc.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/memory/atmel-sdramc.c b/drivers/memory/atmel-sdramc.c
index 12080b0
From: Wei Yongjun <weiyongj...@huawei.com>
Fix the retrn value check which testing the wrong variable
in at91_ebi_dev_disable().
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/memory/atmel-ebi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dr
From: Wei Yongjun
Fix the retrn value check which testing the wrong variable
in at91_ebi_dev_disable().
Signed-off-by: Wei Yongjun
---
drivers/memory/atmel-ebi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/memory/atmel-ebi.c b/drivers/memory/atmel-ebi.c
index
From: Wei Yongjun <weiyongj...@huawei.com>
sizeof() when applied to a pointer typed expression gives the
size of the pointer, not that of the pointed data.
Fixes: fe158a17c1e0 ("ARM: orion: simplify orion_ge00_switch_init")
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com
From: Wei Yongjun
sizeof() when applied to a pointer typed expression gives the
size of the pointer, not that of the pointed data.
Fixes: fe158a17c1e0 ("ARM: orion: simplify orion_ge00_switch_init")
Signed-off-by: Wei Yongjun
---
v1 -> v2: fix file module name in subject
---
From: Wei Yongjun <weiyongj...@huawei.com>
sizeof() when applied to a pointer typed expression gives the
size of the pointer, not that of the pointed data.
Fixes: fe158a17c1e0 ("ARM: orion: simplify orion_ge00_switch_init")
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com&
From: Wei Yongjun
sizeof() when applied to a pointer typed expression gives the
size of the pointer, not that of the pointed data.
Fixes: fe158a17c1e0 ("ARM: orion: simplify orion_ge00_switch_init")
Signed-off-by: Wei Yongjun
---
arch/arm/plat-orion/common.c | 2 +-
1 file
From: Wei Yongjun <weiyongj...@huawei.com>
Remove including that don't need it.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/staging/ks7010/ks_wlan_net.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/ks7010/ks_wlan_net.c
b/drivers/st
From: Wei Yongjun
Remove including that don't need it.
Signed-off-by: Wei Yongjun
---
drivers/staging/ks7010/ks_wlan_net.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/ks7010/ks_wlan_net.c
b/drivers/staging/ks7010/ks_wlan_net.c
index a35325e..c17c45d 100644
From: Wei Yongjun <weiyongj...@huawei.com>
Fix a double lock bug in SetPSModeWorkItemCallback().
Fixes: 5c2ba8b85e35 ("rtl8712: pwrctrl_priv: Replace semaphore lock
with mutex")
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/staging/rtl8712/rtl871x_pw
From: Wei Yongjun
Fix a double lock bug in SetPSModeWorkItemCallback().
Fixes: 5c2ba8b85e35 ("rtl8712: pwrctrl_priv: Replace semaphore lock
with mutex")
Signed-off-by: Wei Yongjun
---
drivers/staging/rtl8712/rtl871x_pwrctrl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Wei Yongjun <weiyongj...@huawei.com>
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/mailbox/platform_mhu.c | 4 +---
1 file changed,
From: Wei Yongjun
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.
Signed-off-by: Wei Yongjun
---
drivers/mailbox/platform_mhu.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/mailbox
From: Wei Yongjun <weiyongj...@huawei.com>
In case of error, the function blk_mq_alloc_request() or
blk_mq_init_queue() returns ERR_PTR() not NULL. The NULL
test in the return value check should be replaced with
IS_ERR().
Fixes: fd8383fd88a2 ("nbd: convert to blkmq")
Signed-off
From: Wei Yongjun
In case of error, the function blk_mq_alloc_request() or
blk_mq_init_queue() returns ERR_PTR() not NULL. The NULL
test in the return value check should be replaced with
IS_ERR().
Fixes: fd8383fd88a2 ("nbd: convert to blkmq")
Signed-off-by: Wei Yongjun
---
dri
From: Wei Yongjun <weiyongj...@huawei.com>
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.
Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>
---
drivers/gpu/drm/sun4i/sun4i_backend.c | 4 +---
1 fil
401 - 500 of 1371 matches
Mail list logo