summaryrefslogtreecommitdiff
path: root/lib/find_bit_benchmark.c
diff options
context:
space:
mode:
authorStefan Wahren <wahrenst@gmx.net>2024-06-21 15:19:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-22 15:38:35 +0100
commit6dee8f99c69068480e88121cbd38c267b0b60e08 (patch)
treea8d6d96e16ae7732298da99a636a137653c5797e /lib/find_bit_benchmark.c
parent6bfed8babc1a3d1be4bc671adcd583616225997d (diff)
downloadlinux-6dee8f99c69068480e88121cbd38c267b0b60e08.tar.gz
linux-6dee8f99c69068480e88121cbd38c267b0b60e08.tar.bz2
linux-6dee8f99c69068480e88121cbd38c267b0b60e08.zip
staging: vchiq_arm: Get the rid off struct vchiq_2835_state
[ Upstream commit 4e2766102da632f26341d5539519b0abf73df887 ] The whole benefit of this encapsulating struct is questionable. It just stores a flag to signalize the init state of vchiq_arm_state. Beside the fact this flag is set too soon, the access to uninitialized members should be avoided. So initialize vchiq_arm_state properly before assign it directly to vchiq_state. Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Link: https://lore.kernel.org/r/20240621131958.98208-6-wahrenst@gmx.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 404b739e8955 ("staging: vchiq_arm: Use devm_kzalloc() for vchiq_arm_state allocation") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/find_bit_benchmark.c')
0 files changed, 0 insertions, 0 deletions