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

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