style: fix checkpatch issues after debug.h move

Fixed copespell errors, for CI sucess!

Signed-off-by: Piyush Patle <piyushpatle228@gmail.com>
This commit is contained in:
Piyush Patle 2026-04-02 21:46:00 +05:30 committed by Alan C. Assis
parent 0dccc8ba21
commit 13d0e64ee6
123 changed files with 223 additions and 87 deletions

View file

@ -858,7 +858,7 @@ static ssize_t cromfs_read(FAR struct file *filep, FAR char *buffer,
size_t remaining;
uint32_t blkoffs;
uint16_t ulen;
uint16_t clen;
uint16_t complen;
unsigned int copysize;
unsigned int copyoffs;
@ -944,9 +944,9 @@ static ssize_t cromfs_read(FAR struct file *filep, FAR char *buffer,
ulen = (uint16_t)hdr1->lzf_ulen[0] << 8 |
(uint16_t)hdr1->lzf_ulen[1];
clen = (uint16_t)hdr1->lzf_clen[0] << 8 |
complen = (uint16_t)hdr1->lzf_clen[0] << 8 |
(uint16_t)hdr1->lzf_clen[1];
blksize = (uint32_t)clen + LZF_TYPE1_HDR_SIZE;
blksize = (uint32_t)complen + LZF_TYPE1_HDR_SIZE;
}
nexthdr = (FAR struct lzf_header_s *)
@ -1006,7 +1006,8 @@ static ssize_t cromfs_read(FAR struct file *filep, FAR char *buffer,
{
unsigned int decomplen;
decomplen = lzf_decompress(src, clen, dest, fs->cv_bsize);
decomplen = lzf_decompress(src, complen, dest,
fs->cv_bsize);
ff->ff_offset = voloffs;
ff->ff_ulen = decomplen;
@ -1045,7 +1046,7 @@ static ssize_t cromfs_read(FAR struct file *filep, FAR char *buffer,
{
unsigned int decomplen;
decomplen = lzf_decompress(src, clen, ff->ff_buffer,
decomplen = lzf_decompress(src, complen, ff->ff_buffer,
fs->cv_bsize);
ff->ff_offset = voloffs;
@ -1053,9 +1054,9 @@ static ssize_t cromfs_read(FAR struct file *filep, FAR char *buffer,
}
finfo("voloffs=%" PRIu32 " blkoffs=%" PRIu32 " ulen=%" PRIu16
" clen=%" PRIu16 " ff_offset=%" PRIu32
" complen=%" PRIu16 " ff_offset=%" PRIu32
" copyoffs=%u copysize=%u\n",
voloffs, blkoffs, ulen, clen, ff->ff_offset,
voloffs, blkoffs, ulen, complen, ff->ff_offset,
copyoffs, copysize);
DEBUGASSERT(ff->ff_ulen >= (copyoffs + copysize));

View file

@ -27,6 +27,7 @@
#include <sys/types.h>
#include <sys/mount.h>
#include <sys/param.h>
#include <nuttx/debug.h>
#include <nuttx/kmalloc.h>
#include <stdarg.h>