2022-08-17 01:49:36

by Xin Gao

[permalink] [raw]
Subject: [PATCH] bpf: Variable type completion

'unsigned int' is better than 'unsigned'.

Signed-off-by: Xin Gao <[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 a25ec93729b9..b3c0bb601167 100644
--- a/net/core/bpf_sk_storage.c
+++ b/net/core/bpf_sk_storage.c
@@ -732,7 +732,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.30.2