incubator-nuttx/net/arp
Gregory Nutt ca2b0a3657 Fix more warnings noted in PR checks
arp/arp_notify.c:132:43: warning: for loop has empty body [-Wempty-body]
           prev = curr, curr = curr->nt_flink);
                                              ^

    sixlowpan/sixlowpan_tcpsend.c:806:31: warning: implicit conversion from 'unsigned int' to 'uint16_t' (aka 'unsigned short') changes value from 4294967295 to 65535 [-Wconstant-conversion]
                                  _SO_TIMEOUT(psock->s_sndtimeo));
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Numerous warnings like:

    ieee802154_getreq.c:93:3: warning: implicit declaration of function 'memcpy' is invalid in C99 [-Wimplicit-function-declaration]
      IEEE802154_EADDRCOPY(eaddr, req.attrval.mac.eaddr);
      ^

    nxfonts/nxfonts_cache.c:839:35: warning: for loop has empty body [-Wempty-body]
               fcache = fcache->flink);

    bluetooth/bluetooth_finddev.c💯11: warning: implicit declaration of function 'memcmp' is invalid in C99 [-Wimplicit-function-declaration]
          if (BLUETOOTH_ADDRCMP(dev->d_mac.radio.nv_addr, match->bf_addr))
              ^

    rwbuffer.c:559:7: warning: variable 'ret' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
      if (rwb->rhmaxblocks > 0 && rwb->rhnblocks > 0)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-04-13 02:09:34 +08:00
..
Kconfig Update some comments and cosmetic spacing. 2019-02-04 07:24:45 -06:00
Make.defs net/arp: Redesign ARP table aging to simplify the net initialization 2018-11-09 13:54:55 -06:00
arp.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
arp_arpin.c net/: Run nxstyle against all C files. 2019-10-25 11:31:42 -06:00
arp_dump.c Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err(). 2016-06-20 12:44:38 -06:00
arp_format.c net: network drver now retains Ethernet MAC address in a union so that other link layer addresses may be used in a MULTILINK environment. 2017-04-22 11:10:30 -06:00
arp_ipin.c Remove some empty code section comments 2016-02-25 18:34:36 -06:00
arp_notify.c Fix more warnings noted in PR checks 2020-04-13 02:09:34 +08:00
arp_out.c net/: Run nxstyle against all C files. 2019-10-25 11:31:42 -06:00
arp_poll.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
arp_send.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
arp_table.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00