2022-03-14 14:38:27

by Julia Lawall

[permalink] [raw]
Subject: [PATCH 27/30] can: ucan: fix typos in comments

Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <[email protected]>

---
drivers/net/can/usb/ucan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/can/usb/ucan.c b/drivers/net/can/usb/ucan.c
index c7c41d1fd038..5ae0d7c017cc 100644
--- a/drivers/net/can/usb/ucan.c
+++ b/drivers/net/can/usb/ucan.c
@@ -1392,7 +1392,7 @@ static int ucan_probe(struct usb_interface *intf,
* Stage 3 for the final driver initialisation.
*/

- /* Prepare Memory for control transferes */
+ /* Prepare Memory for control transfers */
ctl_msg_buffer = devm_kzalloc(&udev->dev,
sizeof(union ucan_ctl_payload),
GFP_KERNEL);
@@ -1526,7 +1526,7 @@ static int ucan_probe(struct usb_interface *intf,
ret = ucan_device_request_in(up, UCAN_DEVICE_GET_FW_STRING, 0,
sizeof(union ucan_ctl_payload));
if (ret > 0) {
- /* copy string while ensuring zero terminiation */
+ /* copy string while ensuring zero termination */
strncpy(firmware_str, up->ctl_msg_buffer->raw,
sizeof(union ucan_ctl_payload));
firmware_str[sizeof(union ucan_ctl_payload)] = '\0';


2022-03-14 22:57:29

by Julia Lawall

[permalink] [raw]
Subject: Re: [PATCH 27/30] can: ucan: fix typos in comments



On Mon, 14 Mar 2022, Marc Kleine-Budde wrote:

> On 14.03.2022 12:53:51, Julia Lawall wrote:
> > Various spelling mistakes in comments.
> > Detected with the help of Coccinelle.
> >
> > Signed-off-by: Julia Lawall <[email protected]>
>
> Acked-by: Marc Kleine-Budde <[email protected]>
>
> Should I take this, or are you going to upstream this?

You can take it.

thanks,
julia

>
> Marc
>
> --
> Pengutronix e.K. | Marc Kleine-Budde |
> Embedded Linux | https://www.pengutronix.de |
> Vertretung West/Dortmund | Phone: +49-231-2826-924 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
>

2022-03-15 00:02:32

by Marc Kleine-Budde

[permalink] [raw]
Subject: Re: [PATCH 27/30] can: ucan: fix typos in comments

On 14.03.2022 14:03:01, Julia Lawall wrote:
>
>
> On Mon, 14 Mar 2022, Marc Kleine-Budde wrote:
>
> > On 14.03.2022 12:53:51, Julia Lawall wrote:
> > > Various spelling mistakes in comments.
> > > Detected with the help of Coccinelle.
> > >
> > > Signed-off-by: Julia Lawall <[email protected]>
> >
> > Acked-by: Marc Kleine-Budde <[email protected]>
> >
> > Should I take this, or are you going to upstream this?
>
> You can take it.

Added to linux-can-next/testing.

Thanks,
Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |


Attachments:
(No filename) (784.00 B)
signature.asc (499.00 B)
Download all attachments

2022-03-17 03:24:40

by Marc Kleine-Budde

[permalink] [raw]
Subject: Re: [PATCH 27/30] can: ucan: fix typos in comments

On 14.03.2022 12:53:51, Julia Lawall wrote:
> Various spelling mistakes in comments.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <[email protected]>

Acked-by: Marc Kleine-Budde <[email protected]>

Should I take this, or are you going to upstream this?

Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |


Attachments:
(No filename) (576.00 B)
signature.asc (499.00 B)
Download all attachments