nuttx/fs/shm
Ville Juven a37d094f31 fs/shmfs: Fix illegal usage of void* arithmetics
Fixes build error with -Werror:

shm/shmfs.c: In function 'shmfs_read':
shm/shmfs.c:122:33: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
  122 |       memcpy(buffer, sho->paddr + startpos, nread);
      |                                 ^
shm/shmfs.c: In function 'shmfs_write':
shm/shmfs.c:166:25: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
  166 |       memcpy(sho->paddr + startpos, buffer, nwritten);
      |                         ^
cc1: all warnings being treated as errors
2023-08-22 23:33:20 +08:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig fs/shm: Add initial implementation for posix shared memory 2023-01-18 11:01:20 +08:00
Make.defs fs/shm: Add initial implementation for posix shared memory 2023-01-18 11:01:20 +08:00
shm_open.c sim/posix_test: fix shm_open() return file descriptor associated with FD_CLOEXEC 2023-07-11 13:30:34 +08:00
shm_unlink.c fs/shm: use ERROR instead of -1 2023-01-26 10:26:09 +08:00
shmfs_alloc.c fs/shm: update pointer arithmetic logic 2023-01-26 10:26:09 +08:00
shmfs.c fs/shmfs: Fix illegal usage of void* arithmetics 2023-08-22 23:33:20 +08:00
shmfs.h fs: Add g_ prefix for all global file_operations instances 2023-04-24 16:13:29 +02:00