use rb_entry_safe() to make it clean
Signed-off-by: Weitao Hou
---
fs/ext4/extents_status.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/ext4/extents_status.c b/fs/ext4/extents_status.c
index 7521de2dcf3a..08ce5ded3538 100644
--- a/fs/ext4/extents_status.c
+++ b/fs
return is unneeded in void function
Signed-off-by: Weitao Hou
---
mm/memory_hotplug.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index 2a9bbddb0e55..c73f09913165 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -132,7 +132,6
add error check when workqueue alloc failed, and remove
redundant code to make it clear
Signed-off-by: Weitao Hou
---
drivers/net/can/spi/mcp251x.c | 49 ---
1 file changed, 22 insertions(+), 27 deletions(-)
diff --git a/drivers/net/can/spi/mcp251x.c b/drivers
mm/vmalloc.c: In function ‘pcpu_get_vm_areas’:
mm/vmalloc.c:976:4: warning: ‘lva’ may be used uninitialized in
this function [-Wmaybe-uninitialized]
insert_vmap_area_augment(lva, &va->rb_node,
Signed-off-by: Weitao Hou
---
mm/vmalloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-
MTD oops 'hdr' header is never used, drop its initialization
Signed-off-by: Weitao Hou
---
Changes in v2:
-fix comment for patch
---
drivers/mtd/mtdoops.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/mtd/mtdoops.c b/drivers/mtd/mtdoops.c
index e078fc41aa61..6a
since hdr was never used, we need not reserve and init it
Signed-off-by: Weitao Hou
---
drivers/mtd/mtdoops.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/mtd/mtdoops.c b/drivers/mtd/mtdoops.c
index e078fc41aa61..6ae4b70ebdbb 100644
--- a/drivers/mtd/mtdoops.c
+++ b/drivers
Use to_platform_device() instead of open-coding it.
Signed-off-by: Weitao Hou
---
drivers/dma/stm32-dmamux.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/dma/stm32-dmamux.c b/drivers/dma/stm32-dmamux.c
index a67119199c45..63af24d4c834 100644
--- a/drivers
If usb is not attached, it's unnessary to allocate, copy
and free memory
Signed-off-by: Weitao Hou
---
drivers/usb/core/devio.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c
index fa783531ee88..aa17dab6c4ea 1
fix lenght to length
Signed-off-by: Weitao Hou
---
Changes in v3:
- fix all other same typos with git grep
---
.../devicetree/bindings/usb/s3c2410-usb.txt| 2 +-
.../wireless/mediatek/mt76/mt76x02_usb_core.c | 2 +-
kernel/sysctl.c| 18
fix lengh to length
Signed-off-by: Weitao Hou
---
- fix prefix
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c
b/drivers/net/wireless/broadcom/brcm80211
fix acccess to access
Signed-off-by: Weitao Hou
---
include/linux/intel-svm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/intel-svm.h b/include/linux/intel-svm.h
index e3f76315ca4d..8dfead70699c 100644
--- a/include/linux/intel-svm.h
+++ b/include/linux
fix abord to abort
Signed-off-by: Weitao Hou
---
drivers/net/fddi/skfp/hwmtm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/fddi/skfp/hwmtm.c b/drivers/net/fddi/skfp/hwmtm.c
index abbe309051d9..3d0f417e8586 100644
--- a/drivers/net/fddi/skfp/hwmtm.c
+++ b
fix abord to abort
Signed-off-by: Weitao Hou
---
drivers/scsi/pm8001/pm8001_sas.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/pm8001/pm8001_sas.c b/drivers/scsi/pm8001/pm8001_sas.c
index 88eef3b18e41..3de57c5a3299 100644
--- a/drivers/scsi/pm8001
fix lenght to length
Signed-off-by: Weitao Hou
---
Changes in v2:
- fix space before tab warnings
---
kernel/sysctl.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 943c89178e3d..f78f725f225e 100644
--- a/kernel
fix lenght to length
Signed-off-by: Weitao Hou
---
drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c
b/drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c
index
fix lenght to length
Signed-off-by: Weitao Hou
---
Documentation/devicetree/bindings/usb/s3c2410-usb.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/usb/s3c2410-usb.txt
b/Documentation/devicetree/bindings/usb/s3c2410-usb.txt
index
fix lengh to length
Signed-off-by: Weitao Hou
---
drivers/net/wireless/intel/ipw2x00/ipw2200.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2200.c
b/drivers/net/wireless/intel/ipw2x00/ipw2200.c
index fa400f92d7e2..807b2c11215a 100644
fix lengh to length
Signed-off-by: Weitao Hou
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c
b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c
index
fix lengh to length
Signed-off-by: Weitao Hou
---
drivers/sfi/sfi_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/sfi/sfi_core.c b/drivers/sfi/sfi_core.c
index a5136901dd8a..b184c541cfd0 100644
--- a/drivers/sfi/sfi_core.c
+++ b/drivers/sfi/sfi_core.c
fix lenght to length
Signed-off-by: Weitao Hou
---
sound/soc/qcom/qdsp6/q6asm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/qcom/qdsp6/q6asm.c b/sound/soc/qcom/qdsp6/q6asm.c
index 4f85cb19a309..e8141a33a55e 100644
--- a/sound/soc/qcom/qdsp6/q6asm.c
+++ b/sound
fix lenght to length
Signed-off-by: Weitao Hou
---
kernel/sysctl.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 943c89178e3d..0736a1d580df 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -187,17 +187,17
21 matches
Mail list logo