From: Oliver Hartkopp <socketcan@hartkopp.net>
To: Marc Kleine-Budde <mkl@pengutronix.de>,
Stefan Tatschner <rumpelsepp@sevenbyte.org>
Cc: linux-can <linux-can@vger.kernel.org>
Subject: Re: [PATCH] can-doc: Add missing semicolon to example
Date: Mon, 09 Nov 2015 19:01:03 +0100 [thread overview]
Message-ID: <5640DF5F.8070008@hartkopp.net> (raw)
In-Reply-To: <56409DB3.6040803@pengutronix.de>
On 09.11.2015 14:20, Marc Kleine-Budde wrote:
> On 11/09/2015 02:17 PM, Stefan Tatschner wrote:
>> The example code for CAN_BCM,
>>
>> connect(s, (struct sockaddr *)&addr, sizeof(addr))
>>
>> lacks a semicolon at the end of the line. This patch adds that
>> missing semicolon to ensure that the given code snippet actually
>> compiles.
>>
>> Signed-off-by: Stefan Tatschner <rumpelsepp@sevenbyte.org>
> Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
>
> Jonathan, feel free to take the patch via your tree.
>
> regards,
> Marc
>
Hi Marc,
I was pretty disappointed that my last patch needed more than six weeks to
emerge in Linus' merge window tree, where it needs additional three month
until release. When this happens again, we'll have this doc fix in Linux 4.5 -
for what reason?
I would suggest to send these kinds of doc fixes and enhancements together
with other CAN fixes via Daves net tree without this needless delay.
Regards,
Oliver
>> ---
>> Documentation/networking/can.txt | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/Documentation/networking/can.txt b/Documentation/networking/can.txt
>> index 4636b94..05fd83b 100644
>> --- a/Documentation/networking/can.txt
>> +++ b/Documentation/networking/can.txt
>> @@ -681,7 +681,7 @@ solution for a couple of reasons:
>> addr.can_family = AF_CAN;
>> addr.can_ifindex = ifr.ifr_ifindex;
>>
>> - connect(s, (struct sockaddr *)&addr, sizeof(addr))
>> + connect(s, (struct sockaddr *)&addr, sizeof(addr));
>>
>> (..)
>>
>>
>
>
next prev parent reply other threads:[~2015-11-09 18:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1447075029-22711-1-git-send-email-rumpelsepp@sevenbyte.org>
2015-11-09 13:20 ` [PATCH] can-doc: Add missing semicolon to example Marc Kleine-Budde
2015-11-09 18:01 ` Oliver Hartkopp [this message]
2015-11-13 20:00 ` Oliver Hartkopp
2015-11-11 16:51 ` Jonathan Corbet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5640DF5F.8070008@hartkopp.net \
--to=socketcan@hartkopp.net \
--cc=linux-can@vger.kernel.org \
--cc=mkl@pengutronix.de \
--cc=rumpelsepp@sevenbyte.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).