diff --git a/net/icmpv6/icmpv6_radvertise.c b/net/icmpv6/icmpv6_radvertise.c index 21466a342b3..bc42ff0b089 100644 --- a/net/icmpv6/icmpv6_radvertise.c +++ b/net/icmpv6/icmpv6_radvertise.c @@ -194,7 +194,8 @@ void icmpv6_radvertise(FAR struct net_driver_s *dev) /* Set up the source address option */ srcaddr = (FAR struct icmpv6_srclladdr_s *) - ((FAR uint8_t *)adv + sizeof(struct icmpv6_router_advertise_s)); + ((FAR uint8_t *)adv + + sizeof(struct icmpv6_router_advertise_s)); srcaddr->opttype = ICMPv6_OPT_SRCLLADDR; srcaddr->optlen = ICMPv6_OPT_OCTECTS(lladdrsize); memcpy(srcaddr->srclladdr, &dev->d_mac, lladdrsize); diff --git a/net/neighbor/neighbor_dumpentry.c b/net/neighbor/neighbor_dumpentry.c index 1e38195a3ec..492651eef3a 100644 --- a/net/neighbor/neighbor_dumpentry.c +++ b/net/neighbor/neighbor_dumpentry.c @@ -51,7 +51,7 @@ * Private Functions ****************************************************************************/ -/****************************************************************************** +/**************************************************************************** * Name: neighbor_dump_address * * Description: @@ -64,7 +64,7 @@ * Returned Value: * None * - ******************************************************************************/ + ****************************************************************************/ static void neighbor_dump_address(FAR const void *buf, unsigned int buflen) { diff --git a/net/procfs/netdev_statistics.c b/net/procfs/netdev_statistics.c index 746b6e59462..1dbeddd92b2 100644 --- a/net/procfs/netdev_statistics.c +++ b/net/procfs/netdev_statistics.c @@ -168,7 +168,7 @@ static int netprocfs_radio_linklayer(FAR struct netprocfs_file_s *netfile, } #endif - /**************************************************************************** + /************************************************************************** * Name: netprocfs_linklayer ****************************************************************************/ diff --git a/net/sixlowpan/sixlowpan_hc1.c b/net/sixlowpan/sixlowpan_hc1.c index f8bd34475d6..f051de40ac3 100644 --- a/net/sixlowpan/sixlowpan_hc1.c +++ b/net/sixlowpan/sixlowpan_hc1.c @@ -228,8 +228,10 @@ int sixlowpan_compresshdr_hc1(FAR struct radio_driver_s *radio, hcudp[SIXLOWPAN_HC1_HC_UDP_UDP_ENCODING] = 0xe0; hcudp[SIXLOWPAN_HC1_HC_UDP_TTL] = ipv6->ttl; hcudp[SIXLOWPAN_HC1_HC_UDP_PORTS] = - (uint8_t)((ntohs(udp->srcport) - CONFIG_NET_6LOWPAN_MINPORT) << 4) + - (uint8_t)((ntohs(udp->destport) - CONFIG_NET_6LOWPAN_MINPORT)); + (uint8_t)((ntohs(udp->srcport) - + CONFIG_NET_6LOWPAN_MINPORT) << 4) + + (uint8_t)((ntohs(udp->destport) - + CONFIG_NET_6LOWPAN_MINPORT)); memcpy(&hcudp[SIXLOWPAN_HC1_HC_UDP_CHKSUM], &udp->udpchksum, 2); diff --git a/net/socket/net_vfcntl.c b/net/socket/net_vfcntl.c index bf61c65e138..e5d340ab311 100644 --- a/net/socket/net_vfcntl.c +++ b/net/socket/net_vfcntl.c @@ -164,9 +164,9 @@ int psock_vfcntl(FAR struct socket *psock, int cmd, va_list ap) /* Set the file status flags, defined in , for the file description * associated with fd from the corresponding bits in the third argument, * arg, taken as type int. Bits corresponding to the file access mode and - * the file creation flags, as defined in , that are set in arg shall - * be ignored. If any bits in arg other than those mentioned here are changed - * by the application, the result is unspecified. + * the file creation flags, as defined in , that are set in arg + * will be ignored. If any bits in arg other than those mentioned here are + * changed by the application, the result is unspecified. */ {