]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
sctp: Fix typos and improve comments
authorThorsten Blum <thorsten.blum@toblux.com>
Thu, 4 Jul 2024 20:25:59 +0000 (22:25 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 9 Jul 2024 09:31:32 +0000 (11:31 +0200)
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>
Link: https://patch.msgid.link/20240704202558.62704-2-thorsten.blum@toblux.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/net/sctp/stream_sched.h

index 572d73fdcd5eaf7f24e3c13bd52c69e2ec9d6f9e..8034bf5febbe8f2c87f2d5f7570be0031507db76 100644 (file)
@@ -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,