liqinhui
a60185cc40
net:Fix the warnings.
tcp/tcp_send_buffered.c: In function 'psock_send_eventhandler':
tcp/tcp_send_buffered.c:1025:17: warning: format '%u' expects argument of type 'unsigned int', but argument 9 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
1025 | ninfo("SEND: wrb=%p seq=%" PRIu32 " pktlen=%u sent=%u sndlen=%zu "
| ^~~~~~~~~~~~~~~~~~~~
......
1030 | conn->snd_wnd, seq, remaining_snd_wnd);
| ~~~~~~~~~~~~~
| |
| uint32_t {aka long unsigned int}
wireless/ieee80211/bcm43xxx/bcmf_netdev.c: In function 'bcmf_addmac':
wireless/ieee80211/bcm43xxx/bcmf_netdev.c:879:26: warning: unused variable 'priv' [-Wunused-variable]
879 | FAR struct bcmf_dev_s *priv = (FAR struct bcmf_dev_s *)dev->d_private;
| ^~~~
Signed-off-by: liqinhui <liqinhui@xiaomi.com>