2018-05-08 22:26:14

by Colin King

[permalink] [raw]
Subject: [PATCH] sctp: fix spelling mistake: "max_retans" -> "max_retrans"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in error string

Signed-off-by: Colin Ian King <[email protected]>
---
net/sctp/sm_make_chunk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index 4d7b3ccea078..4a4fd1971255 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -1131,7 +1131,7 @@ struct sctp_chunk *sctp_make_violation_max_retrans(
const struct sctp_association *asoc,
const struct sctp_chunk *chunk)
{
- static const char error[] = "Association exceeded its max_retans count";
+ static const char error[] = "Association exceeded its max_retrans count";
size_t payload_len = sizeof(error) + sizeof(struct sctp_errhdr);
struct sctp_chunk *retval;

--
2.17.0



2018-05-09 11:17:33

by Neil Horman

[permalink] [raw]
Subject: Re: [PATCH] sctp: fix spelling mistake: "max_retans" -> "max_retrans"

On Tue, May 08, 2018 at 11:24:28PM +0100, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> Trivial fix to spelling mistake in error string
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> net/sctp/sm_make_chunk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
> index 4d7b3ccea078..4a4fd1971255 100644
> --- a/net/sctp/sm_make_chunk.c
> +++ b/net/sctp/sm_make_chunk.c
> @@ -1131,7 +1131,7 @@ struct sctp_chunk *sctp_make_violation_max_retrans(
> const struct sctp_association *asoc,
> const struct sctp_chunk *chunk)
> {
> - static const char error[] = "Association exceeded its max_retans count";
> + static const char error[] = "Association exceeded its max_retrans count";
> size_t payload_len = sizeof(error) + sizeof(struct sctp_errhdr);
> struct sctp_chunk *retval;
>
> --
> 2.17.0
>
>
Acked-by: Neil Horman <[email protected]>

2018-05-10 19:24:55

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] sctp: fix spelling mistake: "max_retans" -> "max_retrans"

From: Colin King <[email protected]>
Date: Tue, 8 May 2018 23:24:28 +0100

> From: Colin Ian King <[email protected]>
>
> Trivial fix to spelling mistake in error string
>
> Signed-off-by: Colin Ian King <[email protected]>

Applied.