The following commit has been merged in the master branch: commit 58948f3b3a673dd89c564e1721f2e0873e07c5e2 Author: Sven Eckelmann sven.eckelmann@gmx.de Date: Sun Sep 12 21:35:20 2010 +0200
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
diff --git a/packet.h b/packet.h index 87e652e..b49fdf7 100644 --- a/packet.h +++ b/packet.h @@ -81,7 +81,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 */