You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/22 03:38:40 UTC
[incubator-nuttx] 02/22: fs/nxffs/nxffs_cache.c: Appease nxstyle
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 042881eed33e21f1345d7eec355de79150fea174
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Sun Nov 22 09:38:55 2020 +0900
fs/nxffs/nxffs_cache.c: Appease nxstyle
---
fs/nxffs/nxffs_cache.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/fs/nxffs/nxffs_cache.c b/fs/nxffs/nxffs_cache.c
index 63bf071..2995b9d 100644
--- a/fs/nxffs/nxffs_cache.c
+++ b/fs/nxffs/nxffs_cache.c
@@ -179,8 +179,9 @@ off_t nxffs_iotell(FAR struct nxffs_volume_s *volume)
* over bad blocks and block headers as necessary.
*
* Input Parameters:
- * volume - Describes the NXFFS volume. The parameters ioblock and iooffset
- * in the volume structure determine the behavior of nxffs_getc().
+ * volume - Describes the NXFFS volume. The parameters ioblock and
+ * 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
* block, then skip to the next block.
*
@@ -200,7 +201,9 @@ int nxffs_getc(FAR struct nxffs_volume_s *volume, uint16_t reserve)
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)
{