pkarashchenko commented on code in PR #10161:
URL: https://github.com/apache/nuttx/pull/10161#discussion_r1291869897


##########
drivers/mtd/mtd_partition.c:
##########
@@ -856,6 +912,8 @@ FAR struct mtd_dev_s *mtd_partition(FAR struct mtd_dev_s 
*mtd,
   part->child.bwrite = part_bwrite;
   part->child.read   = mtd->read ? part_read : NULL;
   part->child.ioctl  = part_ioctl;
+  part->child.isbad  = part_isbad;
+  part->child.markbad  = part_markbad;

Review Comment:
   Please align the assignment of all members of `part->child`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to