]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cfg80211: regulatory: Fix inconsistent format argument
authorYe Bin <yebin10@huawei.com>
Fri, 9 Oct 2020 07:02:15 +0000 (15:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Nov 2020 18:18:45 +0000 (19:18 +0100)
commit319261de5a616ee5ad326c891db24e7028d74eef
treef8e0f36c496abd293fd5a03d0868b4f1bfec3976
parent79e25eab99ae35f208447e2bd570185459c99025
cfg80211: regulatory: Fix inconsistent format argument

[ Upstream commit db18d20d1cb0fde16d518fb5ccd38679f174bc04 ]

Fix follow warning:
[net/wireless/reg.c:3619]: (warning) %d in format string (no. 2)
requires 'int' but the argument type is 'unsigned int'.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Link: https://lore.kernel.org/r/20201009070215.63695-1-yebin10@huawei.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/wireless/reg.c