> -----Original Message----- > From: Dmitry Antipov <dmantipov@xxxxxxxxx> > Sent: Wednesday, January 10, 2024 9:29 PM > To: Ping-Ke Shih <pkshih@xxxxxxxxxxx> > Cc: Kalle Valo <kvalo@xxxxxxxxxx>; linux-wireless@xxxxxxxxxxxxxxx; Dmitry Antipov <dmantipov@xxxxxxxxx> > Subject: [PATCH] wifi: rtw88: use kstrtoX_from_user() in debugfs handlers > > 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>