]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
cfg80211: regulatory: Fix inconsistent format argument
authorYe Bin <yebin10@huawei.com>
Fri, 9 Oct 2020 07:02:15 +0000 (15:02 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Thu, 10 Dec 2020 11:06:21 +0000 (12:06 +0100)
commitdf83d5ac2e5f7d2d2ff6e154c7edaffe8718e948
treec1fe6256ea1de142db80819b099b3f4140d93a1c
parent7b456a12f5acdec8114c5665a8c7f2c26be54dc0
cfg80211: regulatory: Fix inconsistent format argument

BugLink: https://bugs.launchpad.net/bugs/1905618
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
net/wireless/reg.c