Re: [PATCH] regcache: Warn if regcache_sync() is called in cache_only mode
Bui Duc Phuc <[email protected]>
| Newsgroups | dev.linux.lists.driver-core,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAABR9nFRhg5YE6X2QCYQ4Zu9LuQi+vgaNai1s8MF8rHQE-2PqQ@mail.gmail.com> |
Hi Mark, Thanks for the clarification. > > That's for the caller. > Understood. I'll keep the current behavior and leave the error handling to the caller. > I'd have hoped it'd be fairly obvious that the device is in an > indeterminate state after a failed sync, TBH if I/O isn't working > recovery options are going to be *super* limited. I won't make any documentation changes. Best regards, Phuc