* [PATCH] net: netlink: delete repeated words
@ 2020-08-22 23:40 Randy Dunlap
2020-08-25 0:31 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2020-08-22 23:40 UTC (permalink / raw)
To: netdev; +Cc: Randy Dunlap, David S. Miller, Jakub Kicinski
Drop duplicated words in net/netlink/.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
---
net/netlink/af_netlink.c | 8 ++++----
net/netlink/genetlink.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
--- linux-next-20200821.orig/net/netlink/af_netlink.c
+++ linux-next-20200821/net/netlink/af_netlink.c
@@ -848,7 +848,7 @@ retry:
*
* Test to see if the opener of the socket we received the message
* from had when the netlink socket was created and the sender of the
- * message has has the capability @cap in the user namespace @user_ns.
+ * message has the capability @cap in the user namespace @user_ns.
*/
bool __netlink_ns_capable(const struct netlink_skb_parms *nsp,
struct user_namespace *user_ns, int cap)
@@ -867,7 +867,7 @@ EXPORT_SYMBOL(__netlink_ns_capable);
*
* Test to see if the opener of the socket we received the message
* from had when the netlink socket was created and the sender of the
- * message has has the capability @cap in the user namespace @user_ns.
+ * message has the capability @cap in the user namespace @user_ns.
*/
bool netlink_ns_capable(const struct sk_buff *skb,
struct user_namespace *user_ns, int cap)
@@ -883,7 +883,7 @@ EXPORT_SYMBOL(netlink_ns_capable);
*
* Test to see if the opener of the socket we received the message
* from had when the netlink socket was created and the sender of the
- * message has has the capability @cap in all user namespaces.
+ * message has the capability @cap in all user namespaces.
*/
bool netlink_capable(const struct sk_buff *skb, int cap)
{
@@ -898,7 +898,7 @@ EXPORT_SYMBOL(netlink_capable);
*
* Test to see if the opener of the socket we received the message
* from had when the netlink socket was created and the sender of the
- * message has has the capability @cap over the network namespace of
+ * message has the capability @cap over the network namespace of
* the socket we received the message from.
*/
bool netlink_net_capable(const struct sk_buff *skb, int cap)
--- linux-next-20200821.orig/net/netlink/genetlink.c
+++ linux-next-20200821/net/netlink/genetlink.c
@@ -222,7 +222,7 @@ static int genl_validate_assign_mc_group
family->mcgrp_offset = first_id;
- /* if still initializing, can't and don't need to to realloc bitmaps */
+ /* if still initializing, can't and don't need to realloc bitmaps */
if (!init_net.genl_sock)
return 0;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] net: netlink: delete repeated words
2020-08-22 23:40 [PATCH] net: netlink: delete repeated words Randy Dunlap
@ 2020-08-25 0:31 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-08-25 0:31 UTC (permalink / raw)
To: rdunlap; +Cc: netdev, kuba
From: Randy Dunlap <rdunlap@infradead.org>
Date: Sat, 22 Aug 2020 16:40:15 -0700
> Drop duplicated words in net/netlink/.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-25 0:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 23:40 [PATCH] net: netlink: delete repeated words Randy Dunlap
2020-08-25 0:31 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).