[PATCH] bpf: Variable type completion

From: Xin Gao
Date: Tue Aug 16 2022 - 21:40:39 EST


'unsigned int' is better than 'unsigned'.

Signed-off-by: Xin Gao <gaoxin@xxxxxxxxxx>
---
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