diff options
-rw-r--r-- | drivers/net/wireless/ath/wcn36xx/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/debug.c b/drivers/net/wireless/ath/wcn36xx/debug.c index 5b84f7ae0b1e..ef44a2da644d 100644 --- a/drivers/net/wireless/ath/wcn36xx/debug.c +++ b/drivers/net/wireless/ath/wcn36xx/debug.c | |||
@@ -126,7 +126,7 @@ static ssize_t write_file_dump(struct file *file, | |||
126 | if (begin == NULL) | 126 | if (begin == NULL) |
127 | break; | 127 | break; |
128 | 128 | ||
129 | if (kstrtoul(begin, 0, (unsigned long *)(arg + i)) != 0) | 129 | if (kstrtou32(begin, 0, &arg[i]) != 0) |
130 | break; | 130 | break; |
131 | } | 131 | } |
132 | 132 | ||