All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bpf: bpf.h: drop duplicated words in comments
@ 2020-07-16  1:29 Randy Dunlap
  2020-07-16 19:03 ` Daniel Borkmann
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2020-07-16  1:29 UTC (permalink / raw)
  To: netdev, bpf, Alexei Starovoitov, Daniel Borkmann

From: Randy Dunlap <rdunlap@infradead.org>

Drop doubled words "will" and "attach".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: netdev@vger.kernel.org
Cc: bpf@vger.kernel.org
---
 include/uapi/linux/bpf.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-next-20200714.orig/include/uapi/linux/bpf.h
+++ linux-next-20200714/include/uapi/linux/bpf.h
@@ -2419,7 +2419,7 @@ union bpf_attr {
  *			Look for an IPv6 socket.
  *
  *		If the *netns* is a negative signed 32-bit integer, then the
- *		socket lookup table in the netns associated with the *ctx* will
+ *		socket lookup table in the netns associated with the *ctx*
  *		will be used. For the TC hooks, this is the netns of the device
  *		in the skb. For socket hooks, this is the netns of the socket.
  *		If *netns* is any other signed 32-bit value greater than or
@@ -2456,7 +2456,7 @@ union bpf_attr {
  *			Look for an IPv6 socket.
  *
  *		If the *netns* is a negative signed 32-bit integer, then the
- *		socket lookup table in the netns associated with the *ctx* will
+ *		socket lookup table in the netns associated with the *ctx*
  *		will be used. For the TC hooks, this is the netns of the device
  *		in the skb. For socket hooks, this is the netns of the socket.
  *		If *netns* is any other signed 32-bit value greater than or
@@ -3986,7 +3986,7 @@ struct bpf_link_info {
 
 /* User bpf_sock_addr struct to access socket fields and sockaddr struct passed
  * by user and intended to be used by socket (e.g. to bind to, depends on
- * attach attach type).
+ * attach type).
  */
 struct bpf_sock_addr {
 	__u32 user_family;	/* Allows 4-byte read, but no write. */



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

* Re: [PATCH] bpf: bpf.h: drop duplicated words in comments
  2020-07-16  1:29 [PATCH] bpf: bpf.h: drop duplicated words in comments Randy Dunlap
@ 2020-07-16 19:03 ` Daniel Borkmann
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Borkmann @ 2020-07-16 19:03 UTC (permalink / raw)
  To: Randy Dunlap, netdev, bpf, Alexei Starovoitov

On 7/16/20 3:29 AM, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Drop doubled words "will" and "attach".
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Alexei Starovoitov <ast@kernel.org>
> Cc: Daniel Borkmann <daniel@iogearbox.net>
> Cc: netdev@vger.kernel.org
> Cc: bpf@vger.kernel.org

Applied & fixed up also tooling infra header, thanks!

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

end of thread, other threads:[~2020-07-16 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16  1:29 [PATCH] bpf: bpf.h: drop duplicated words in comments Randy Dunlap
2020-07-16 19:03 ` Daniel Borkmann

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.