[PATCH] net: ipv4: route.c: Fix indentation of multi line comment.

2021-03-11 Thread Shubhankar Kuranagatti
All comment lines inside the comment block have been aligned. Every line of comment starts with a * (uniformity in code). Signed-off-by: Shubhankar Kuranagatti --- net/ipv4/route.c | 97 1 file changed, 49 insertions(+), 48 deletions(-) diff

[PATCH 2/2] net: core: datagram.c: Fix usage of space before tab

2021-03-11 Thread Shubhankar Kuranagatti
Removed an extra space before the tab key. Signed-off-by: Shubhankar Kuranagatti --- net/core/datagram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/datagram.c b/net/core/datagram.c index 7b2204f102b7..be0caaec9add 100644 --- a/net/core/datagram.c +++ b/net/core

[PATCH 1/2] net: core: datagram.c: Fix use of assignment in if condition

2021-03-11 Thread Shubhankar Kuranagatti
The assignment inside the if condition has been changed to initialising outside the if condition. Signed-off-by: Shubhankar Kuranagatti --- net/core/datagram.c | 31 --- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/net/core/datagram.c b/net/core

[PATCH] net: core: bpf_sk_storage.c: Fix bare usage of unsigned

2021-03-11 Thread Shubhankar Kuranagatti
Changed bare usage of unsigned to unsigned int Signed-off-by: Shubhankar Kuranagatti --- net/core/bpf_sk_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/bpf_sk_storage.c b/net/core/bpf_sk_storage.c index 4edd033e899c..d99753f88a70 100644 --- a/net/core

[PATCH] net: socket.c: Fix comparison issues

2021-03-10 Thread Shubhankar Kuranagatti
The constant has been placed to the right side of the test. Signed-off-by: Shubhankar Kuranagatti --- net/socket.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/socket.c b/net/socket.c index 84a8049c2b09..a23dd4348793 100644 --- a/net/socket.c +++ b/net/socket.c

[PATCH] net: ipv4: route.c: fix space before tab

2021-03-10 Thread Shubhankar Kuranagatti
The extra space before tab space has been removed. Signed-off-by: Shubhankar Kuranagatti --- net/ipv4/route.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 02d81d79deeb..55f2813a000d 100644 --- a/net/ipv4/route.c +++ b

[PATCH] net: ipv6: route.c:fix indentation

2021-03-10 Thread Shubhankar Kuranagatti
The series of space has been replaced by tab space wherever required. Signed-off-by: Shubhankar Kuranagatti --- net/ipv6/route.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 1536f4948e86..60058f3dcc48