All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: core: bpf_sk_storage.c: Fix bare usage of unsigned
@ 2021-03-11  9:43 Shubhankar Kuranagatti
  2021-03-11  9:55 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Shubhankar Kuranagatti @ 2021-03-11  9:43 UTC (permalink / raw)
  To: davem
  Cc: kuba, ast, daniel, andrii, kafai, songliubraving, yhs,
	john.fastabend, kpsingh, netdev, bpf, linux-kernel, bkkarthik

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: core: bpf_sk_storage.c: Fix bare usage of unsigned
  2021-03-11  9:43 [PATCH] net: core: bpf_sk_storage.c: Fix bare usage of unsigned Shubhankar Kuranagatti
@ 2021-03-11  9:55 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2021-03-11  9:55 UTC (permalink / raw)
  To: Shubhankar Kuranagatti
  Cc: davem, kuba, ast, daniel, andrii, kafai, songliubraving, yhs,
	john.fastabend, kpsingh, netdev, bpf, linux-kernel, bkkarthik

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-11  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11  9:43 [PATCH] net: core: bpf_sk_storage.c: Fix bare usage of unsigned Shubhankar Kuranagatti
2021-03-11  9:55 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.