2021-03-11 09:46:13

by Shubhankar Kuranagatti

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

Changed bare usage of unsigned to unsigned int

Signed-off-by: Shubhankar Kuranagatti <[email protected]>
---
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


2021-03-11 09:57:28

by Greg Kroah-Hartman

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

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