1
0
Fork 0
alistair23-linux/drivers/nvme
Keith Busch 9b6be0d2f9 nvme: Fix uninitialized-variable warning
[ Upstream commit 15755854d5 ]

gcc may detect a false positive on nvme using an unintialized variable
if setting features fails. Since this is not a fast path, explicitly
initialize this variable to suppress the warning.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-03-12 13:00:15 +01:00
..
host nvme: Fix uninitialized-variable warning 2020-03-12 13:00:15 +01:00
target nvmet: Pass lockdep expression to RCU lists 2020-02-24 08:37:01 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00