[PATCH net-next] sctp: Fix typos and improve comments

Thorsten Blum posted 1 patch 1 year, 7 months ago
include/net/sctp/stream_sched.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[PATCH net-next] sctp: Fix typos and improve comments
Posted by Thorsten Blum 1 year, 7 months ago
Fix typos s/steam/stream/ and spell out Schedule/Unschedule in the
comments.

Compile-tested only.

Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
---
 include/net/sctp/stream_sched.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/net/sctp/stream_sched.h b/include/net/sctp/stream_sched.h
index 572d73fdcd5e..8034bf5febbe 100644
--- a/include/net/sctp/stream_sched.h
+++ b/include/net/sctp/stream_sched.h
@@ -35,10 +35,10 @@ struct sctp_sched_ops {
 	struct sctp_chunk *(*dequeue)(struct sctp_outq *q);
 	/* Called only if the chunk fit the packet */
 	void (*dequeue_done)(struct sctp_outq *q, struct sctp_chunk *chunk);
-	/* Sched all chunks already enqueued */
-	void (*sched_all)(struct sctp_stream *steam);
-	/* Unched all chunks already enqueued */
-	void (*unsched_all)(struct sctp_stream *steam);
+	/* Schedule all chunks already enqueued */
+	void (*sched_all)(struct sctp_stream *stream);
+	/* Unschedule all chunks already enqueued */
+	void (*unsched_all)(struct sctp_stream *stream);
 };
 
 int sctp_sched_set_sched(struct sctp_association *asoc,
-- 
2.45.2
Re: [PATCH net-next] sctp: Fix typos and improve comments
Posted by Simon Horman 1 year, 7 months ago
On Thu, Jul 04, 2024 at 10:25:59PM +0200, Thorsten Blum wrote:
> Fix typos s/steam/stream/ and spell out Schedule/Unschedule in the
> comments.
> 
> Compile-tested only.
> 
> Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>

Reviewed-by: Simon Horman <horms@kernel.org>