drivers/mtd/mtd_rwbuffer.c: Appease nxstyle

This commit is contained in:
YAMAMOTO Takashi 2020-11-23 13:17:04 +09:00 committed by Xiang Xiao
parent 28fda4e5bb
commit 5b25cf8e47
1 changed files with 3 additions and 1 deletions

View File

@ -259,7 +259,8 @@ static int mtd_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
{
case MTDIOC_GEOMETRY:
{
FAR struct mtd_geometry_s *geo = (FAR struct mtd_geometry_s *)((uintptr_t)arg);
FAR struct mtd_geometry_s *geo = (FAR struct mtd_geometry_s *)
((uintptr_t)arg);
if (geo)
{
/* Populate the geometry structure with information need to know
@ -384,6 +385,7 @@ FAR struct mtd_dev_s *mtd_rwb_initialize(FAR struct mtd_dev_s *mtd)
DEBUGASSERT((size_t)priv->spb * geo.blocksize == geo.erasesize);
/* Values must be provided to rwb_initialize() */
/* Supported geometry */
priv->rwb.blocksize = geo.blocksize;