fs/nxffs/nxffs_cache.c: Appease nxstyle

This commit is contained in:
YAMAMOTO Takashi 2020-11-22 09:38:55 +09:00 committed by Xiang Xiao
parent b48408cdeb
commit 042881eed3
1 changed files with 6 additions and 3 deletions

View File

@ -179,8 +179,9 @@ off_t nxffs_iotell(FAR struct nxffs_volume_s *volume)
* over bad blocks and block headers as necessary. * over bad blocks and block headers as necessary.
* *
* Input Parameters: * Input Parameters:
* volume - Describes the NXFFS volume. The parameters ioblock and iooffset * volume - Describes the NXFFS volume. The parameters ioblock and
* in the volume structure determine the behavior of nxffs_getc(). * iooffset in the volume structure determine the behavior of
* nxffs_getc().
* reserve - If less than this much space is available at the end of the * reserve - If less than this much space is available at the end of the
* block, then skip to the next block. * block, then skip to the next block.
* *
@ -200,7 +201,9 @@ int nxffs_getc(FAR struct nxffs_volume_s *volume, uint16_t reserve)
do do
{ {
/* Check if we have the reserve amount at the end of the current block */ /* Check if we have the reserve amount at the end of the current
* block
*/
if (volume->iooffset + reserve > volume->geo.blocksize) if (volume->iooffset + reserve > volume->geo.blocksize)
{ {