summaryrefslogtreecommitdiffstats
path: root/drivers/staging/batman-adv/packet.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@gmx.de>2010-09-18 21:01:11 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-20 16:29:47 -0700
commit1612ae996ec16ed358f0e9afacb0a262b1cf97a4 (patch)
treece3d8f911f76e0bc15191ae5c741e6e72dd8c9b1 /drivers/staging/batman-adv/packet.h
parent430a8e9a3325e303f092a371b9d2e45a715b26d7 (diff)
downloadop-kernel-dev-1612ae996ec16ed358f0e9afacb0a262b1cf97a4.zip
op-kernel-dev-1612ae996ec16ed358f0e9afacb0a262b1cf97a4.tar.gz
Staging: batman-adv: checkpatch cleanup of comments
checkpatch now detects the start of a comment and warns about usage of multiple spaces at the beginning of a line. We have to replace the ' ' in multiple lines comments by ' * ' to fix it. Checkpatch also wants a comment after a definition of a spinlock_t which describes what it protects. It is currently not possible to add it before the actual struct which includes the spinlock. Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/batman-adv/packet.h')
-rw-r--r--drivers/staging/batman-adv/packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/batman-adv/packet.h b/drivers/staging/batman-adv/packet.h
index 44de1bf..2693383 100644
--- a/drivers/staging/batman-adv/packet.h
+++ b/drivers/staging/batman-adv/packet.h
@@ -79,7 +79,7 @@ struct icmp_packet {
#define BAT_RR_LEN 16
/* icmp_packet_rr must start with all fields from imcp_packet
- as this is assumed by code that handles ICMP packets */
+ * as this is assumed by code that handles ICMP packets */
struct icmp_packet_rr {
uint8_t packet_type;
uint8_t version; /* batman version field */
OpenPOWER on IntegriCloud