Dmitry Antipov <dmantipov@xxxxxxxxx> wrote: > When 'sscanf()' is not needed to scan an input, prefer common > 'kstrtoX_from_user()' over 'rtw_debugfs_copy_from_user()' with > following 'kstrtoX()'. Minor adjustments, compile tested only. > > Signed-off-by: Dmitry Antipov <dmantipov@xxxxxxxxx> > Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Patch applied to wireless-next.git, thanks. 23b8330156e5 wifi: rtw88: use kstrtoX_from_user() in debugfs handlers -- https://patchwork.kernel.org/project/linux-wireless/patch/20240110132930.438828-1-dmantipov@xxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches