nuttx/fs
Xiang Xiao 5f7cc04627 fs/aio: Fix compile warning
aio/lio_listio.c:227:7: warning: implicit declaration of function ‘ferr’ [-Wimplicit-function-declaration]
  227 |       ferr("ERROR: lib_zalloc failed\n");
      |       ^~~~
aio/lio_listio.c:275:3: warning: implicit declaration of function ‘finfo’ [-Wimplicit-function-declaration]
  275 |   finfo("Registering signal handler\n");

aio/aio_read.c: In function ‘aio_read_worker’:
aio/aio_read.c:90:11: warning: implicit declaration of function ‘file_pread’; did you mean ‘aio_read’? [-Wimplicit-function-declaration]
   90 |   nread = file_pread(aioc->aioc_filep, (FAR void *)aiocbp->aio_buf,
      |           ^~~~~~~~~~
      |           aio_read

aio/aio_write.c: In function ‘aio_write_worker’:
aio/aio_write.c:85:12: warning: implicit declaration of function ‘file_fcntl’ [-Wimplicit-function-declaration]
   85 |   oflags = file_fcntl(aioc->aioc_filep, F_GETFL);
      |            ^~~~~~~~~~
CC:  mmap/fs_mmap.c
CC:  pthread/pthread_condclockwait.c
aio/aio_write.c:107:18: warning: implicit declaration of function ‘file_write’; did you mean ‘aio_write’? [-Wimplicit-function-declaration]
  107 |       nwritten = file_write(aioc->aioc_filep,
      |                  ^~~~~~~~~~
      |                  aio_write
aio/aio_write.c:113:18: warning: implicit declaration of function ‘file_pwrite’; did you mean ‘aio_write’? [-Wimplicit-function-declaration]
  113 |       nwritten = file_pwrite(aioc->aioc_filep,
      |                  ^~~~~~~~~~~
      |                  aio_write
In file included from aio/aio_write.c:34:
aio/aio_write.c:121:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ssize_t’ {aka ‘long int’} [-Wformat=]
  121 |       ferr("ERROR: write/pwrite/send failed: %d\n", nwritten);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~
      |                                                     |
      |                                                     ssize_t {aka long int}
aio/aio_write.c:121:47: note: format string is defined here
  121 |       ferr("ERROR: write/pwrite/send failed: %d\n", nwritten);
      |                                              ~^
      |                                               |
      |                                               int
      |                                              %ld

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-31 06:30:57 -03:00
..
aio fs/aio: Fix compile warning 2021-10-31 06:30:57 -03:00
binfs fs/ioctl: using FIOC_FILEPATH instead of FIOC_FILENAME. 2021-09-13 08:56:10 +08:00
cromfs fs: Add fchstat and chstat callback into mountpt_operations 2021-07-29 06:33:49 -03:00
dirent Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00
driver fs/driver: Fix missing declaration of find_mtddriver when CONFIG_MTD=n 2021-10-23 04:02:22 -05:00
fat Fix the printf warning after off_t change 2021-08-04 06:48:30 -07:00
hostfs fs/hostfs: Support fchstat and chstat callback 2021-08-09 17:55:44 -03:00
inode inode_getpath: correct get path whether path buffer is clean or not. 2021-09-12 11:30:22 +08:00
littlefs littlefs:fix rmdir can remove a file 2021-10-19 00:12:45 -05:00
mmap mmap: Fix note: initialize the variable 'ret' 2021-08-10 09:08:25 -07:00
mount fs/mount: Properly handle missing FS on the supported list 2021-10-23 04:02:22 -05:00
mqueue mqueue: fix memory leak cause by lost inode_release 2021-10-25 18:57:43 +09:00
nfs License: BSD: NFS client file system 2021-08-30 22:39:04 +08:00
nxffs fs: Add fchstat and chstat callback into mountpt_operations 2021-07-29 06:33:49 -03:00
partition fs/partition: support parse gpt partition 2021-10-30 01:24:09 -05:00
procfs fs:procfs: add waiting_paging_fill state names 2021-09-18 10:08:00 -03:00
romfs mtd: Replace MTDIOC_XIPBASE with BIOC_XIPBASE 2021-08-12 08:01:29 -03:00
semaphore fs: Move umask to task_info_s 2021-07-14 10:35:15 -03:00
shm Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00
smartfs fs: Add fchstat and chstat callback into mountpt_operations 2021-07-29 06:33:49 -03:00
socket fs/inode: add sanity check for inode to avoid nullpointer 2021-07-25 23:01:37 -07:00
spiffs LICENSE: add fs/spiffs license 2021-08-30 22:39:04 +08:00
tmpfs fs: Add fchstat and chstat callback into mountpt_operations 2021-07-29 06:33:49 -03:00
unionfs fs/unionfs: Support fchstat and chstat callback 2021-08-10 14:57:34 -03:00
userfs fs/userfs: Support fchstat and chstat callback 2021-08-10 14:57:48 -03:00
vfs vfs/poll: correct the return event if inode has closed 2021-09-15 12:02:53 +08:00
fs_initialize.c Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00
Kconfig fs: Change off_t and related types to int64_t if long long is supported 2021-08-04 06:48:30 -07:00
Makefile net: unify socket into file descriptor 2021-03-03 19:01:41 -08:00