[PATCH] net: hns: Fix some typos

2021-04-01 Thread Lu Wei
Fix some typos. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_enet.c b/drivers/net/ethernet/hisilicon/hns/hns_enet.c index

[PATCH -next 3/3] net: vsock: Fix a typo

2021-03-26 Thread Lu Wei
Modify "occured" to "occurred" in net/vmw_vsock/af_vsock.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/vmw_vsock/af_vsock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index 5546710d8ac1.

[PATCH -next 1/3] net: rds: Fix a typo

2021-03-26 Thread Lu Wei
Modify "beween" to "between" in net/rds/send.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/rds/send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rds/send.c b/net/rds/send.c index 985d0b7713ac..53444397de66 100644 --- a/net/rds/send.c

[PATCH -next 2/3] net: sctp: Fix some typos

2021-03-26 Thread Lu Wei
Modify "unkown" to "unknown" in net/sctp/sm_make_chunk.c and Modify "orginal" to "original" in net/sctp/socket.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/sctp/sm_make_chunk.c | 2 +- net/sctp/socket.c| 2 +- 2 files changed, 2 i

[PATCH -next 0/3] Fix some typos

2021-03-26 Thread Lu Wei
Lu Wei (3): net: rds: Fix a typo net: sctp: Fix some typos net: vsock: Fix a typo net/rds/send.c | 2 +- net/sctp/sm_make_chunk.c | 2 +- net/sctp/socket.c| 2 +- net/vmw_vsock/af_vsock.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -- 2.17.1

[PATCH -next 2/5] net: core: Fix a typo in dev_addr_lists.c

2021-03-25 Thread Lu Wei
Modify "funciton" to "function" in net/core/dev_addr_lists.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/core/dev_addr_lists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/dev_addr_lists.c b/net/core/dev_addr_lists.c index fa1c37

[PATCH -next 3/5] net: decnet: Fix a typo in dn_nsp_in.c

2021-03-25 Thread Lu Wei
Modify "erronous" to "erroneous" in net/decnet/dn_nsp_in.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/decnet/dn_nsp_in.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/decnet/dn_nsp_in.c b/net/decnet/dn_nsp_in.c index c97bdca5ec30.

[PATCH -next 4/5] net: dsa: Fix a typo in tag_rtl4_a.c

2021-03-25 Thread Lu Wei
Modify "Apparantly" to "Apparently" in net/dsa/tag_rtl4_a.c.. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/dsa/tag_rtl4_a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dsa/tag_rtl4_a.c b/net/dsa/tag_rtl4_a.c index e9176475bac8..cf8ac316f

[PATCH -next 5/5] net: ipv4: Fix some typos

2021-03-25 Thread Lu Wei
Modify "accomodate" to "accommodate" in net/ipv4/esp4.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/ipv4/esp4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/esp4.c b/net/ipv4/esp4.c index a3271ec3e162..1ae920b93f39 100644 -

[PATCH -next 1/5] net: ceph: Fix a typo in osdmap.c

2021-03-25 Thread Lu Wei
Modify "inital" to "initial" in net/ceph/osdmap.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/ceph/osdmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ceph/osdmap.c b/net/ceph/osdmap.c index 2b1dd252f231..c959320c4775 100644 --- a/net

[PATCH -next 0/5]Fix some typos

2021-03-25 Thread Lu Wei
Lu Wei (5): net: ceph: Fix a typo in osdmap.c net: core: Fix a typo in dev_addr_lists.c net: decnet: Fix a typo in dn_nsp_in.c net: dsa: Fix a typo in tag_rtl4_a.c net: ipv4: Fix some typos net/ceph/osdmap.c | 2 +- net/core/dev_addr_lists.c | 2 +- net/decnet/dn_nsp_in.c

[PATCH] net: Fix a misspell in socket.c

2021-03-24 Thread Lu Wei
s/addres/address Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/socket.c b/net/socket.c index 84a8049c2b09..27e3e7d53f8e 100644 --- a/net/socket.c +++ b/net/socket.c @@ -3568,7 +3568,7 @@ EXPORT_SYMBOL

[PATCH] maple: fix wrong return value of maple_bus_init().

2020-11-25 Thread Lu Wei
If KMEM_CACHE or maple_alloc_dev failed, the maple_bus_init() will return 0 rather than error, because the retval is not changed after KMEM_CACHE or maple_alloc_dev failed. Fixes: 17be2d2b1c33 ("sh: Add maple bus support for the SEGA Dreamcast.") Reported-by: Hulk Robot Signed-off-

[PATCH] net: nixge: fix potential memory leak in nixge_probe()

2020-07-28 Thread Lu Wei
If some processes in nixge_probe() fail, free_netdev(dev) needs to be called to aviod a memory leak. Fixes: 87ab207981ec ("net: nixge: Separate ctrl and dma resources") Fixes: abcd3d6fc640 ("net: nixge: Fix error path for obtaining mac address") Reported-by: Hulk Robot S

[PATCH] net: ethernet: fix potential memory leak in gemini_ethernet_port_probe()

2020-07-28 Thread Lu Wei
If some processes in gemini_ethernet_port_probe() fail, free_netdev(dev) needs to be called to avoid a memory leak. Fixes: 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit ethernet") Reported-by: Hulk Robot Signed-off-by: Lu Wei --- drivers/net/ethernet/cortina/gem

[PATCH v3 0/2] Fix return value check

2020-07-10 Thread Lu Wei
In the function check_acpi_dev(), if it fails to create platform device, the return value is ERR_PTR() or NULL. Thus it must use IS_ERR_OR_NULL to check return value. --- v2->v3 - Modify format v3->v4 - Change commit number to 12 characters Lu Wei (2): intel-hid: Fix return value

[PATCH v3 1/2] intel-hid: Fix return value check in check_acpi_dev()

2020-07-10 Thread Lu Wei
In the function check_acpi_dev(), if it fails to create platform device, the return value is ERR_PTR() or NULL. Thus it must use IS_ERR_OR_NULL to check return value. Fixes: ecc83e52b28c ("intel-hid: new hid event driver for hotkeys") Reported-by: Hulk Robot Signed-off-by: Lu Wei ---

[PATCH v3 2/2] intel-vbtn: Fix return value check in check_acpi_dev()

2020-07-10 Thread Lu Wei
In the function check_acpi_dev(), if it fails to create platform device, the return value is ERR_PTR() or NULL. Thus it must use IS_ERR_OR_NULL to check return value. Fixes: 332e081225fc ("intel-vbtn: new driver for Intel Virtual Button") Reported-by: Hulk Robot Signed-off-

[PATCH v3 2/2] intel-vbtn: Fix return value check in check_acpi_dev()

2020-07-10 Thread Lu Wei
In the function check_acpi_dev(), if it fails to create platform device, the return value is ERR_PTR() or NULL. Thus it must use IS_ERR_OR_NULL to check return value. Fixes: 332e0812 ("intel-vbtn: new driver for Intel Virtual Button") Reported-by: Hulk Robot Signed-off-by: Lu Wei

[PATCH v3 0/2] Fix return value check

2020-07-10 Thread Lu Wei
In the function check_acpi_dev(), if it fails to create platform device, the return value is ERR_PTR() or NULL. Thus it must use IS_ERR_OR_NULL to check return value. *** BLURB HERE *** Lu Wei (2): intel-hid: Fix return value check in check_acpi_dev() intel-vbtn: Fix return value check

[PATCH v3 1/2] intel-hid: Fix return value check in check_acpi_dev()

2020-07-10 Thread Lu Wei
In the function check_acpi_dev(), if it fails to create platform device, the return value is ERR_PTR() or NULL. Thus it must use IS_ERR_OR_NULL to check return value. Fixes: ecc83e52b28c ("intel-hid: new hid event driver for hotkeys") Reported-by: Hulk Robot Signed-off-by: Lu Wei

[PATCH v2] ACPI / platform: Fix return value check in check_acpi_dev()

2020-06-05 Thread Lu Wei
In the function check_acpi_dev(), if it fails to create platform device, the return value is ERR_PTR() or NULL. Thus it must use IS_ERR_OR_NULL to check return value. Fixes: ecc83e52b28c (intel-hid: new hid event driver for hotkeys) Reported-by: Hulk Robot Signed-off-by: Lu Wei --- v1->