On Thu, 31 Oct 2024 18:39:20 -0700 Qingjie Xing <xqjcool@xxxxxxxxx> wrote: > Provide an extra function, proc_create_single_write_data() that > act like its non-write version but also set a write method in > the proc_dir_entry struct. Alse provide a macro > proc_create_single_write to reduces the boilerplate code in the callers. > Please fully describe the reason for making this change. Also, we are reluctant to add a new interface to Linux unless we add new users of that interface at the same time. Thanks.