Home
last modified time | relevance | path

Searched hist:c9eaee0c (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Ddebug.cc9eaee0c Mon Mar 15 04:23:37 CDT 2021 Dan Carpenter <dan.carpenter@oracle.com> rtw88: Fix an error code in rtw_debugfs_set_rsvd_page()

The sscanf() function returns the number of matches (0 or 1 in this
case). It doesn't return error codes. We should return -EINVAL if the
string is invalid

Fixes: c376c1fc87b7 ("rtw88: add h2c command in debugfs")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/YE8nmatMDBDDWkjq@mwanda