pussuw commented on code in PR #16031: URL: https://github.com/apache/nuttx/pull/16031#discussion_r2008033805
########## arch/risc-v/src/mpfs/mpfs_coremmc.c: ########## @@ -525,7 +526,7 @@ static void mpfs_configxfrints(struct mpfs_dev_s *priv, uint32_t xfrmask, { irqstate_t flags; - flags = enter_critical_section(); + flags = spin_lock_irqsave(&priv->lock); priv->xfrmask = xfrmask; priv->xfr_blkmask = xfr_blkmask; Review Comment: Should the trace be removed or? -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org