can: ucan: fix some typos in comments
PATCH 1/1 can: ucan: fix some typos in comments
This fixes some double-word and trivial typos in the ucan driver comments.
Signed-off-by Martin Kepplinger <[email protected]>
---
hi guys,
The Seal looks very nice. Since I'm doing CAN work right now, I could totally use one of these instead of old gear from PEAK.
I hope you're doing fine. Best regards,
martin
drivers/net/can/usb/ucan.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/net/can/usb/ucan.c +4 -4
@@ -64,7 +64,7 @@* the following way: * * m[n].len <=> the length if message n(including the header in bytes) -* m[n] is is aligned to a 4 byte boundary, hence +* m[n] is aligned to a 4 byte boundary, hence * offset(m[0]) := 0; * offset(m[n+1]) := offset(m[n]) + (m[n].len + 3) & 3 *
@@ -288,7 +288,7 @@ struct ucan_priv {*/ spinlock_t echo_skb_lock; -/* usb device information information */ +/* usb device information */ u8 intf_index;u8 in_ep_addr;u8 out_ep_addr;
@@ -1449,7 +1449,7 @@ static int ucan_probe(struct usb_interface *intf,/* request the device information and store it in ctl_msg_buffer * -* note: ucan_ctrl_command_* wrappers connot be used yet +* note: ucan_ctrl_command_* wrappers cannot be used yet * because `up` is initialised in Stage 3 */ ret = usb_control_msg(udev,
@@ -1498,7 +1498,7 @@ static int ucan_probe(struct usb_interface *intf, up =netdev_priv (netdev); -/* initialze data */ +/* initialize data */ up->udev = udev; up->intf = intf; up->netdev = netdev;
Signature · 1 line
2.19.0