Re: [PATCH/RESEND] [trivial] sctp : Fix typo in net/sctp/socket.c

From: David Miller
Date: Sun Jan 22 2012 - 14:21:36 EST


From: Joe Perches <joe@xxxxxxxxxxx>
Date: Fri, 20 Jan 2012 17:23:55 -0800

> On Sat, 2012-01-21 at 10:18 +0900, Masanari Iida wrote:
>> Signed-off-by: Masanari Iida<standby24x7@xxxxxxxxx>
>>
>> Correct a typo "sctp_setsocktopt_bindx" to "sctp_setsockopt_bindx"
>> in net/sctp/socket.c
>> ---
>> net/sctp/socket.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/net/sctp/socket.c b/net/sctp/socket.c
>> index 408ebd0..658483e 100644
>> --- a/net/sctp/socket.c
>> +++ b/net/sctp/socket.c
>> @@ -970,7 +970,7 @@ SCTP_STATIC int sctp_setsockopt_bindx(struct sock* sk,
>> void *addr_buf;
>> struct sctp_af *af;
>>
>> - SCTP_DEBUG_PRINTK("sctp_setsocktopt_bindx: sk %p addrs %p"
>> + SCTP_DEBUG_PRINTK("sctp_setsockopt_bindx: sk %p addrs %p"
>> " addrs_size %d opt %d\n", sk, addrs, addrs_size, op);
>
> Let the compiler do it.
>
> SCTP_DEBUG_PRINTK("%s: sk %p addrs %p addrs_size %d opt %d\n",
> __func__, sk, addrs, addrs_size, op);

Masanari, please integrate Joe's feedback into your patch.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/