diff --git a/net/sixlowpan/sixlowpan_framelist.c b/net/sixlowpan/sixlowpan_framelist.c index 28669a56fc..083249f96f 100644 --- a/net/sixlowpan/sixlowpan_framelist.c +++ b/net/sixlowpan/sixlowpan_framelist.c @@ -207,8 +207,8 @@ static uint16_t sixlowpan_protosize(FAR const struct ipv6_hdr_s *ipv6hdr, #ifdef CONFIG_WIRELESS_IEEE802154 static int sixlowpan_ieee802154_metadata(FAR struct radio_driver_s *radio, - FAR const struct netdev_varaddr_s *destmac, - FAR union sixlowpan_metadata_u *meta) + FAR const struct netdev_varaddr_s *destmac, + FAR union sixlowpan_metadata_u *meta) { struct ieee802_txmetadata_s pktmeta; int ret; @@ -306,8 +306,8 @@ static int sixlowpan_ieee802154_metadata(FAR struct radio_driver_s *radio, #ifdef CONFIG_WIRELESS_PKTRADIO static int sixlowpan_pktradio_metadata(FAR struct radio_driver_s *radio, - FAR const struct netdev_varaddr_s *destmac, - FAR union sixlowpan_metadata_u *meta) + FAR const struct netdev_varaddr_s *destmac, + FAR union sixlowpan_metadata_u *meta) { FAR struct pktradio_metadata_s *pktmeta = &meta->pktradio; @@ -568,8 +568,8 @@ int sixlowpan_queue_frames(FAR struct radio_driver_s *radio, * 1. Datagram size describes the total (un-fragmented) payload. * 2. Datagram tag identifies the set of fragments and is used to * match fragments of the same payload. - * 3. Datagram offset identifies the fragment’s offset within the un- - * fragmented payload. + * 3. Datagram offset identifies the fragment’s offset within the + * unfragmented payload. * * The fragment header length is 4 bytes for the first header and 5 * bytes for all subsequent headers. diff --git a/net/sixlowpan/sixlowpan_input.c b/net/sixlowpan/sixlowpan_input.c index 585b8b7d4b..012fd87a7b 100644 --- a/net/sixlowpan/sixlowpan_input.c +++ b/net/sixlowpan/sixlowpan_input.c @@ -412,7 +412,7 @@ static int sixlowpan_frame_process(FAR struct radio_driver_s *radio, { /* The packet is a fragment but its size does not match. */ - nwarn("WARNING: Dropping 6LoWPAN packet. Bad fragsize: %u vs &u\n", + nwarn("WARNING: Dropping 6LoWPAN packet. Bad fragsize: %u vs %u\n", fragsize, reass->rb_pktlen); ret = -EPERM; goto errout_with_reass; @@ -855,7 +855,7 @@ int sixlowpan_input(FAR struct radio_driver_s *radio, if (hdrlen > radio->r_dev.d_len) { - nwarn("WARNING: Packet too small: Have %u need >%u\n", + nwarn("WARNING: Packet too small: Have %u need >%zu\n", radio->r_dev.d_len, hdrlen); goto drop; }