incubator-nuttx/net/local
wangming9 21c30f80af net/local: fix build error on CONFIG_DEBUG_OPTLEVEL="-O3"
Summary
The following compilation error occurs after configuring CONFIG_DEBUG_OPTLEVEL="-O3"
CC:  local/local_fifo.c In file included from local/local_fifo.c:25:
In function 'local_format_name',
    inlined from 'local_cs_name' at local/local_fifo.c:101:3,
    inlined from 'local_create_fifos' at local/local_fifo.c:431:3:
local/local_fifo.c:84:16: error: '%x' directive output may be truncated writing between 1 and 8 bytes into a region of size between 5 and 112 [-Werror=format-truncation=]
   84 |                CONFIG_NET_LOCAL_VFS_PATH "/%s%s%" PRIx32,
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: wangming9 <wangming9@xiaomi.com>
2023-09-09 17:08:23 +03:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig net/local: rename NET_LOCAL_VFS_PATH to follow linux 2023-01-04 20:50:38 +08:00
Make.defs
local.h net/local:Add peek support for pipe and MSG_PEEK support for local socket 2023-08-15 23:58:45 +08:00
local_accept.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
local_bind.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
local_conn.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
local_connect.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
local_fifo.c net/local: fix build error on CONFIG_DEBUG_OPTLEVEL="-O3" 2023-09-09 17:08:23 +03:00
local_listen.c net/local: Support the abstract path to connect 2023-07-14 09:57:24 +08:00
local_netpoll.c net: add poll lock for local socket poll 2023-08-08 08:43:18 +02:00
local_recvmsg.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
local_recvutils.c net/local: Return -EINVAL if the address length passed to local_bind is too small 2022-12-18 20:12:30 +02:00
local_release.c net/local: remove client from server.lc_waiters when client close 2023-07-17 09:01:36 +02:00
local_sendmsg.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
local_sendpacket.c net/local: Return an error when write the too big packet. 2023-08-14 23:46:08 +08:00
local_sockif.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00