commit | 9b6be0d2f942c2d6a4a1f88106c53f88bd5b2a16 | [log] [tgz] |
---|---|---|
author | Keith Busch <kbusch@kernel.org> | Thu Feb 20 00:59:36 2020 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 12 13:00:15 2020 +0100 |
tree | 227519560c73529c71cd3553a890f20e323308a2 | |
parent | b290fb0b797176ef96b0dbfe80cb7e0b2aea347e [diff] |
nvme: Fix uninitialized-variable warning [ Upstream commit 15755854d53b4bbb0bb37a0fce66f0156cfc8a17 ] 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>