Skip to content

Commit

Permalink
fs_automount:fix ci break
Browse files Browse the repository at this point in the history
====================================================================================
Configuration/Tool: spresense/example_camera,CONFIG_ARM_TOOLCHAIN_GNU_EABI
2024-11-12 12:24:37
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
  Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
  Enabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
  Building NuttX...
mount/fs_automount.c: In function 'automount_initialize':
Error: mount/fs_automount.c:816:7: error: 'return' with no value, in function returning non-void [-Werror=return-type]
  816 |       return;
      |       ^~~~~~
In file included from mount/fs_automount.c:43:
/github/workspace/sources/nuttx/include/nuttx/fs/automount.h:176:11: note: declared here
  176 | FAR void *automount_initialize(FAR const struct automount_lower_s *lower);
      |           ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: chenrun1 <[email protected]>
  • Loading branch information
crafcat7 committed Nov 13, 2024
1 parent f22685f commit 9880ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/mount/fs_automount.c
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ FAR void *automount_initialize(FAR const struct automount_lower_s *lower)
FAR char *devpath = lib_get_pathbuffer();
if (devpath == NULL)
{
return;
return NULL;
}
#endif /* CONFIG_FS_AUTOMOUNTER_DRIVER */

Expand Down

0 comments on commit 9880ced

Please sign in to comment.