diff mbox series

net: core: bpf_sk_storage.c: Fix bare usage of unsigned

Message ID 20210311094349.5q76vsxuqk3riwyq@kewl-virtual-machine (mailing list archive)
State Changes Requested
Delegated to: BPF
Headers show
Series net: core: bpf_sk_storage.c: Fix bare usage of unsigned | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Guessed tree name to be net-next
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cc_maintainers success CCed 12 of 12 maintainers
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 4 this patch: 4
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 4 this patch: 4
netdev/header_inline success Link

Commit Message

Shubhankar Kuranagatti March 11, 2021, 9:43 a.m. UTC
Changed bare usage of unsigned to unsigned int

Signed-off-by: Shubhankar Kuranagatti <shubhankarvk@gmail.com>
---
 net/core/bpf_sk_storage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Greg Kroah-Hartman March 11, 2021, 9:55 a.m. UTC | #1
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
diff mbox series

Patch

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 *