The logic in rt6_age_examine_exception is confusing. The commit is
to refactor the code.
Signed-off-by: Xu Jia
---
net/ipv6/route.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index ebb7519bec2a..f15c7605b11d 100644
--- a/net/ipv6
The variable 'res' is not used in function, this commit
remove it to fix the warning.
Reported-by: Hulk Robot
Signed-off-by: Xu Jia
---
drivers/staging/rtl8723bs/core/rtw_sta_mgt.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/staging/rtl8
The sparse tool complains as follows:
arch/arm64/kvm/arm.c:1900:6: warning:
symbol '_kvm_host_prot_finalize' was not declared. Should it be static?
This symbol is not used outside of arm.c, so this
commit marks it static.
Reported-by: Hulk Robot
Signed-off-by: Xu Jia
---
arch
Function rtw_init_bcmc_stainfo() is always return success.
Variable 'ret' set but not used.
Reported-by: Hulk Robot
Signed-off-by: Xu Jia
---
drivers/staging/rtl8723bs/core/rtw_sta_mgt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8
The variable 'dev' is not used in function, remove it to fix the warning.
Reported-by: Hulk Robot
Signed-off-by: Xu Jia
---
drivers/firewire/net.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c
index 28785642a5c5..4c3fd2eed1da 10
When cmd > 6 or copy_to_user() fail, The variable 'ret' would not be
returned back. Fix the 'ret' set but not used.
Signed-off-by: Xu Jia
---
drivers/char/applicom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/applicom.c b/driver
Prefer 'static const' over 'const static' here
Signed-off-by: Xu Jia
---
kernel/bpf/bpf_lsm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/bpf/bpf_lsm.c b/kernel/bpf/bpf_lsm.c
index 1622a44d1617..75b1c678d558 100644
--- a/kernel/bpf/bpf_ls
7 matches
Mail list logo