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

Subsystems: networking [general], the rest

STALE1971d

2 messages, 2 authors, 2021-03-11 · open the first message on its own page

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

From: Shubhankar Kuranagatti <hidden>
Date: 2021-03-11 09:44:54

Changed bare usage of unsigned to unsigned int

Signed-off-by: Shubhankar Kuranagatti <redacted>
---
 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/bpf_sk_storage.c
+++ b/net/core/bpf_sk_storage.c
@@ -723,7 +723,7 @@ EXPORT_SYMBOL_GPL(bpf_sk_storage_diag_put);
 struct bpf_iter_seq_sk_storage_map_info {
 	struct bpf_map *map;
 	unsigned int bucket_id;
-	unsigned skip_elems;
+	unsigned int skip_elems;
 };
 
 static struct bpf_local_storage_elem *
-- 
2.17.1

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

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-03-11 09:56:44

On Thu, Mar 11, 2021 at 03:13:49PM +0530, Shubhankar Kuranagatti wrote:
Changed bare usage of unsigned to unsigned int
That says _what_ you did, but not _why_ you did it :(

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help