On 17.08.2023 11:03, Ruan Jinjie wrote:
So the error check is necessary!
Yeah, it is. As Takashi already mentioned, debugfs in this case is the way how the driver communicates with userspace (forwards flags, receives filling patterns, etc.), so it is vital part of the driver.
Maybe we should add a dependency on CONFIG_DEBUG_FS in Kconfig?I think it's ok!
It sounds like a great idea. Ruan, would you like to do this? If not, I will take it on.
-- Kind regards, Ivan Orlov