Re: [PATCH -next] ALSA: pcmtest: Drop unnecessary error check for debugfs_create_dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux