mirror of
https://github.com/apache/nuttx.git
synced 2026-10-19 04:43:03 +00:00
This PR addresses several portability and technical debt issues in the mnemofs filesystem by resolving source-level TODO items. Changes: - Implemented a portable fallback for mfs\_clz (Count Leading Zeros) in fs/mnemofs/mnemofs.h using a binary search approach. This ensures compatibility with non-GCC compilers. - Removed the redundant 8-bit mfs\_arrhash and consolidated hashing with the existing 16-bit mfs\_hash in mnemofs\_util.c. - Removed the related TODO comments in mnemofs.h and mnemofs\_util.c. - Fixed NuttX style (indentation and braces) in the fallback bit primitives. Signed-off-by: Sumit <sumit6307@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| mnemofs.c | ||
| mnemofs.h | ||
| mnemofs_blkalloc.c | ||
| mnemofs_ctz.c | ||
| mnemofs_fsobj.c | ||
| mnemofs_journal.c | ||
| mnemofs_lru.c | ||
| mnemofs_master.c | ||
| mnemofs_rw.c | ||
| mnemofs_util.c | ||