net/: More clean-up of spacing/alignment issues

This commit is contained in:
Gregory Nutt
2015-10-08 15:10:04 -06:00
parent 1e6ffe7677
commit 6209c51206
48 changed files with 311 additions and 278 deletions
+2 -2
View File
@@ -134,14 +134,14 @@ void igmp_input(struct net_driver_s *dev)
/* Calculate and check the IGMP checksum */
if (net_chksum((uint16_t*)&IGMPBUF->type, IGMP_HDRLEN) != 0)
if (net_chksum((FAR uint16_t *)&IGMPBUF->type, IGMP_HDRLEN) != 0)
{
IGMP_STATINCR(g_netstats.igmp.chksum_errors);
nlldbg("Checksum error\n");
return;
}
/* Find the group (or create a new one) using the incoming IP address*/
/* Find the group (or create a new one) using the incoming IP address */
destipaddr = net_ip4addr_conv32(IGMPBUF->destipaddr);
group = igmp_grpallocfind(dev, &destipaddr);