diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-07-24 08:16:29 -0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-08-13 11:32:20 -0400 |
commit | d6ada83bba9905c436b1ffcbd5fd995f5e38f291 (patch) | |
tree | 8518ffc8066649230047bce5160855b15d25e625 /net/can/raw.c | |
parent | 97c334935100e762feb4f083291bb2fc006de7df (diff) |
can: raw: convert block comments to network style comments
This patch converts all block comments to network subsystem style block
comments.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can/raw.c')
-rw-r--r-- | net/can/raw.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/net/can/raw.c b/net/can/raw.c index da386f1fa815..cb68e155075c 100644 --- a/net/can/raw.c +++ b/net/can/raw.c | |||
@@ -1,6 +1,5 @@ | |||
1 | // SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) | 1 | // SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) |
2 | /* | 2 | /* raw.c - Raw sockets for protocol family CAN |
3 | * raw.c - Raw sockets for protocol family CAN | ||
4 | * | 3 | * |
5 | * Copyright (c) 2002-2007 Volkswagen Group Electronic Research | 4 | * Copyright (c) 2002-2007 Volkswagen Group Electronic Research |
6 | * All rights reserved. | 5 | * All rights reserved. |
@@ -65,8 +64,7 @@ MODULE_ALIAS("can-proto-1"); | |||
65 | 64 | ||
66 | #define MASK_ALL 0 | 65 | #define MASK_ALL 0 |
67 | 66 | ||
68 | /* | 67 | /* A raw socket has a list of can_filters attached to it, each receiving |
69 | * A raw socket has a list of can_filters attached to it, each receiving | ||
70 | * the CAN frames matching that filter. If the filter list is empty, | 68 | * the CAN frames matching that filter. If the filter list is empty, |
71 | * no CAN frames will be received by the socket. The default after | 69 | * no CAN frames will be received by the socket. The default after |
72 | * opening the socket, is to have one filter which receives all frames. | 70 | * opening the socket, is to have one filter which receives all frames. |
@@ -97,8 +95,7 @@ struct raw_sock { | |||
97 | struct uniqframe __percpu *uniq; | 95 | struct uniqframe __percpu *uniq; |
98 | }; | 96 | }; |
99 | 97 | ||
100 | /* | 98 | /* Return pointer to store the extra msg flags for raw_recvmsg(). |
101 | * Return pointer to store the extra msg flags for raw_recvmsg(). | ||
102 | * We use the space of one unsigned int beyond the 'struct sockaddr_can' | 99 | * We use the space of one unsigned int beyond the 'struct sockaddr_can' |
103 | * in skb->cb. | 100 | * in skb->cb. |
104 | */ | 101 | */ |
@@ -157,8 +154,7 @@ static void raw_rcv(struct sk_buff *oskb, void *data) | |||
157 | if (!skb) | 154 | if (!skb) |
158 | return; | 155 | return; |
159 | 156 | ||
160 | /* | 157 | /* Put the datagram to the queue so that raw_recvmsg() can |
161 | * Put the datagram to the queue so that raw_recvmsg() can | ||
162 | * get it from there. We need to pass the interface index to | 158 | * get it from there. We need to pass the interface index to |
163 | * raw_recvmsg(). We pass a whole struct sockaddr_can in skb->cb | 159 | * raw_recvmsg(). We pass a whole struct sockaddr_can in skb->cb |
164 | * containing the interface index. | 160 | * containing the interface index. |