mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
iwlwifi: mvm: fix debugfs signedness warning
Using kstrtouint() with a signed int isn't really right, use kstrotoint() instead. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
parent
d8f7c5115d
commit
27e070d3d3
1 changed files with 1 additions and 1 deletions
|
|
@ -983,7 +983,7 @@ static ssize_t iwl_dbgfs_cont_recording_write(struct iwl_mvm *mvm,
|
|||
trans->cfg->device_family != IWL_DEVICE_FAMILY_8000)
|
||||
return -EOPNOTSUPP;
|
||||
|
||||
ret = kstrtouint(buf, 0, &rec_mode);
|
||||
ret = kstrtoint(buf, 0, &rec_mode);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue