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

2018-05-10 Thread David Miller
From: Colin King 
Date: Tue,  8 May 2018 23:24:28 +0100

> From: Colin Ian King 
> 
> Trivial fix to spelling mistake in error string
> 
> Signed-off-by: Colin Ian King 

Applied.


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

2018-05-09 Thread Neil Horman
On Tue, May 08, 2018 at 11:24:28PM +0100, Colin King wrote:
> From: Colin Ian King 
> 
> Trivial fix to spelling mistake in error string
> 
> Signed-off-by: Colin Ian King 
> ---
>  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 


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

2018-05-08 Thread Colin King
From: Colin Ian King 

Trivial fix to spelling mistake in error string

Signed-off-by: Colin Ian King 
---
 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