From: Randy Dunlap <rdunlap@infradead.org>
To: netdev@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>,
Vlad Yasevich <vyasevich@gmail.com>,
Neil Horman <nhorman@tuxdriver.com>,
Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>,
linux-sctp@vger.kernel.org,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>
Subject: [PATCH 5/7] net: sctp: protocol.c: delete duplicated words + punctuation
Date: Sat, 22 Aug 2020 23:15:59 +0000 [thread overview]
Message-ID: <20200822231601.32125-6-rdunlap@infradead.org> (raw)
In-Reply-To: <20200822231601.32125-1-rdunlap@infradead.org>
Drop the repeated words "of" and "that".
Add some punctuation for readability.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Vlad Yasevich <vyasevich@gmail.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
Cc: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Cc: linux-sctp@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
---
net/sctp/protocol.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- linux-next-20200731.orig/net/sctp/protocol.c
+++ linux-next-20200731/net/sctp/protocol.c
@@ -372,7 +372,7 @@ static int sctp_v4_available(union sctp_
* Level 3 - private addresses.
* Level 4 - global addresses
* For INIT and INIT-ACK address list, let L be the level of
- * of requested destination address, sender and receiver
+ * requested destination address, sender and receiver
* SHOULD include all of its addresses with level greater
* than or equal to L.
*
@@ -1483,10 +1483,10 @@ static __init int sctp_init(void)
num_entries = (1UL << order) * PAGE_SIZE /
sizeof(struct sctp_bind_hashbucket);
- /* And finish by rounding it down to the nearest power of two
- * this wastes some memory of course, but its needed because
+ /* And finish by rounding it down to the nearest power of two.
+ * This wastes some memory of course, but it's needed because
* the hash function operates based on the assumption that
- * that the number of entries is a power of two
+ * the number of entries is a power of two.
*/
sctp_port_hashsize = rounddown_pow_of_two(num_entries);
next prev parent reply other threads:[~2020-08-22 23:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-22 23:15 [PATCH 0/7] net: sctp: delete duplicated words + other fixes Randy Dunlap
2020-08-22 23:15 ` [PATCH 1/7] net: sctp: associola.c: delete duplicated words Randy Dunlap
2020-08-22 23:15 ` [PATCH 2/7] net: sctp: auth.c: " Randy Dunlap
2020-08-22 23:15 ` [PATCH 3/7] net: sctp: bind_addr.c: delete duplicated word Randy Dunlap
2020-08-22 23:15 ` [PATCH 4/7] net: sctp: chunk.c: " Randy Dunlap
2020-08-22 23:15 ` Randy Dunlap [this message]
2020-08-22 23:16 ` [PATCH 6/7] net: sctp: sm_make_chunk.c: delete duplicated words + fix typo Randy Dunlap
2020-08-22 23:16 ` [PATCH 7/7] net: sctp: ulpqueue.c: delete duplicated word Randy Dunlap
2020-08-24 23:22 ` [PATCH 0/7] net: sctp: delete duplicated words + other fixes David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200822231601.32125-6-rdunlap@infradead.org \
--to=rdunlap@infradead.org \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linux-sctp@vger.kernel.org \
--cc=marcelo.leitner@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
--cc=vyasevich@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).