Remove including that don't need it.
Signed-off-by: Tian Tao
Signed-off-by: Zhiqi Song
---
include/linux/qed/qed_ll2_if.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/qed/qed_ll2_if.h b/include/linux/qed/qed_ll2_if.h
index 2f64ed7..ea273ba 100644
--- a/include/linu
Remove NULL checks before vfree() to fix these warnings:
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c:3558:2-8: WARNING: NULL
check before some freeing functions is not needed.
Signed-off-by: Tian Tao
---
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c | 3 +--
1 file changed, 1 insertion
asm/exception.h is included more than once. Remove the one that isn't
necessary.
Signed-off-by: Tian Tao
---
arch/arm64/kernel/traps.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/kernel/traps.c b/arch/arm64/kernel/traps.c
index 08156be..6895ce7 100644
--- a/arch/arm64/k
Fix the following coccinelle report:
drivers/net/wireless/realtek/rtw88/coex.c:1619:3-5: WARNING:
possible condition with no effect (if == else)
Signed-off-by: Tian Tao
---
drivers/net/wireless/realtek/rtw88/coex.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a
Remove including that don't need it.
Signed-off-by: Tian Tao
---
kernel/bpf/syscall.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c
index 4caf06f..c3bb03c8 100644
--- a/kernel/bpf/syscall.c
+++ b/kernel/bpf/syscall.c
@@ -17,7 +17,6 @@
#in
Switch to using the new API kobj_to_dev().
Signed-off-by: Tian Tao
---
drivers/net/wireless/ti/wlcore/sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ti/wlcore/sysfs.c
b/drivers/net/wireless/ti/wlcore/sysfs.c
index 7ac1814..5cf0379 100644
--- a
use kmem_cache_zalloc instead kmem_cache_alloc and memset.
Signed-off-by: Tian Tao
---
net/core/skbuff.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index c9a5a3c..3449c1c 100644
--- a/net/core/skbuff.c
+++ b/net/core
Replace opencoded alloc and copy with vmemdup_user()
Signed-off-by: Tian Tao
---
drivers/vhost/vdpa.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c
index 2754f30..4c39583 100644
--- a/drivers/vhost/vdpa.c
+++ b/drivers
Update kernel-doc line comments to fix warnings reported by make W=1.
net/switchdev/switchdev.c:413: warning: Function parameter or
member 'extack' not described in 'call_switchdev_notifiers'
Signed-off-by: Tian Tao
---
net/switchdev/switchdev.c | 2 +-
1 file change
linux/kernel.h is included more than once, Remove the one that isn't
necessary.
Signed-off-by: Tian Tao
---
drivers/vhost/vdpa.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c
index 3fab94f..95e2b83 100644
--- a/drivers/vhost/vdpa.c
+++ b/dr
10 matches
Mail list logo