> Hi Huan, > Please modify the implementation of sysfs attributes like > wb_toggle_buf_resize such that a string is accepted (e.g. increase, > decrease) instead of numbers (1, 2). > > See also how sysfs_match_string() is used in e.g. drivers/scsi/sd.c. > Several sd sysfs attributes support writing a string into sysfs > attributes and that string is translated into a number. > > Thanks, > > Bart. Hi Bart, Thank you for your reply and guidance. I got it. I have submitted the v6 patch according to your suggestions.Could you please review it again? v6 patch: https://lore.kernel.org/all/20241104142437.234-1-tanghuan@xxxxxxxx/ Thanks Huan