net/sixlowpan/sixlowpan_framelist.c: Appease nxstyle

This commit is contained in:
YAMAMOTO Takashi 2020-11-23 17:54:37 +09:00 committed by Xiang Xiao
parent 5c5fc00fc4
commit d5a5b6979d
2 changed files with 8 additions and 8 deletions

View File

@ -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 fragments offset within the un-
* fragmented payload.
* 3. Datagram offset identifies the fragments offset within the
* unfragmented payload.
*
* The fragment header length is 4 bytes for the first header and 5
* bytes for all subsequent headers.

View File

@ -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;
}