mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
drivers/bch: fix nxstyle errors
This commit is contained in:
committed by
Xiang Xiao
parent
14d037b8d5
commit
5afee5cbd1
@@ -93,7 +93,8 @@ int bchlib_setup(const char *blkdev, bool readonly, FAR void **handle)
|
||||
goto errout_with_bch;
|
||||
}
|
||||
|
||||
DEBUGASSERT(bch->inode && bch->inode->u.i_bops && bch->inode->u.i_bops->geometry);
|
||||
DEBUGASSERT(bch->inode && bch->inode->u.i_bops &&
|
||||
bch->inode->u.i_bops->geometry);
|
||||
|
||||
ret = bch->inode->u.i_bops->geometry(bch->inode, &geo);
|
||||
if (ret < 0)
|
||||
|
||||
Reference in New Issue
Block a user