Re: [PATCH] [v2] wifi: ath10k: consistently use kstrtoX_from_user() functions

2023-10-02 Thread Kalle Valo
Dmitry Antipov wrote: > Use 'kstrtoul_from_user()', 'kstrtobool_from_user()' and > 'kstrtoint_from_user()' where appropriate and thus avoid > some code duplication. > > Signed-off-by: Dmitry Antipov > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.

Re: [PATCH] [v2] wifi: ath10k: consistently use kstrtoX_from_user() functions

2023-09-20 Thread Jeff Johnson
On 9/20/2023 8:39 AM, Dmitry Antipov wrote: Use 'kstrtoul_from_user()', 'kstrtobool_from_user()' and 'kstrtoint_from_user()' where appropriate and thus avoid some code duplication. Signed-off-by: Dmitry Antipov ... + ssize_t ret; curious why you changed this, especially given that y

[PATCH] [v2] wifi: ath10k: consistently use kstrtoX_from_user() functions

2023-09-20 Thread Dmitry Antipov
Use 'kstrtoul_from_user()', 'kstrtobool_from_user()' and 'kstrtoint_from_user()' where appropriate and thus avoid some code duplication. Signed-off-by: Dmitry Antipov --- v2: fix ath10k_warn() format specifier (kernel test robot) --- drivers/net/wireless/ath/ath10k/debug.c| 47 +++---