summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-07-09 08:34:09 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-03 08:53:42 +0200
commit9a95e70726337efab1a0a23c2ec4f27c2025d9fe (patch)
tree25227ceba6419cd17991ad2417a122d5d30ce7d1 /kernel/locking
parent477163b7f58e2c776117dd213f6f8d3a07016f10 (diff)
wifi: virt_wifi: don't use strlen() in const context
[ Upstream commit 6e909f489191b365364e9d636dec33b5dfd4e5eb ] Looks like not all compilers allow strlen(constant) as a constant, so don't do that. Instead, revert back to defining the length as the first submission had it. Fixes: b5d14b0c6716 ("wifi: virt_wifi: avoid reporting connection success with wrong SSID") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202407090934.NnR1TUbW-lkp@intel.com/ Closes: https://lore.kernel.org/oe-kbuild-all/202407090944.mpwLHGt9-lkp@intel.com/ Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions