zephyr/subsys/fs
Aurelien Jarno 41f86c3db2 nvs: fix warnings in logger
When compiling NVS with NEWLIB_LIBC=y, GCC outputs the following
warning:

In file included from $ZEPHYR/include/logging/log.h:11:0,
                 from $ZEPHYR/subsys/fs/nvs/nvs.c:17:
$ZEPHYR/subsys/fs/nvs/nvs.c: In function 'nvs_init':
$ZEPHYR/subsys/fs/nvs/nvs.c:748:10: warning: format '%lx' expects
argument of type 'long unsigned int', but argument 3 has type 'u32_t
{aka unsigned int}' [-Wformat=]
  LOG_INF("alloc wra: %d, %" PRIx32 "",
          ^
fs->ate_wra and fs->data_wra are both defined as u32_t, so they need to
be printed with '%d'.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2019-01-25 22:26:58 +01:00
..
fcb misra-c: Add 'U' to unsigned variable assignments in subsys/ 2018-12-04 22:51:56 -05:00
nvs nvs: fix warnings in logger 2019-01-25 22:26:58 +01:00
CMakeLists.txt cmake: default to linking 'app' with the interface library 'FS' 2018-07-25 08:27:45 -04:00
fat_fs.c misra-c: Add 'U' to unsigned variable assignments in subsys/ 2018-12-04 22:51:56 -05:00
fs.c subsys: fs: Use template to define CONFIG_FS_LOG_LEVEL 2018-10-15 09:18:03 -04:00
Kconfig subsys: filesystem: move conditional location 2018-11-02 15:31:44 -05:00
nffs_fs.c crc: deprecate old headers and issue warning when used 2018-12-04 08:52:46 -06:00
shell.c tests: subsys: fs: multifs: Enable fs shell using new shell 2018-12-14 13:14:17 +01:00