jingfei195887 opened a new pull request, #21655:
URL: https://github.com/apache/nuttx/pull/21655
## Summary
`fs/vfs/fs_inotify.c` defines a private `ROUND_UP()` macro with the same
arithmetic as `ALIGN_UP()` in `include/nuttx/nuttx.h`. Use `ALIGN_UP()`
and drop the local macro.
## Impact
No functional change. The object code of `fs_inotify.c` is identical
before and after this patch.
## Testing
Host: Ubuntu x86_64, gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0, master
03aea78639.
- `./tools/checkpatch.sh -g master..HEAD`: all checks pass.
- `sim:nsh` with `CONFIG_FS_NOTIFY=y`: builds without warnings.
`objdump -d fs/fs_inotify.o` is identical to the master build.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]