]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: target: tcmu: Fix warning: 'page' may be used uninitialized
authorJohn Donnelly <john.p.donnelly@oracle.com>
Thu, 24 Sep 2020 00:19:20 +0000 (17:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2020 08:55:14 +0000 (09:55 +0100)
commit052daa607a16822dd243ed6b63d08f6ed0ae1d3b
tree85e785e6a353173cb04da33a9053a8152efb460c
parentd9796b5e2ab1878ab5e2c42fc783ab75a4949bf6
scsi: target: tcmu: Fix warning: 'page' may be used uninitialized

[ Upstream commit 61741d8699e1fc764a309ebd20211bb1cb193110 ]

Corrects drivers/target/target_core_user.c:688:6: warning: 'page' may be
used uninitialized.

Link: https://lore.kernel.org/r/20200924001920.43594-1-john.p.donnelly@oracle.com
Fixes: 3c58f737231e ("scsi: target: tcmu: Optimize use of flush_dcache_page")
Cc: Mike Christie <michael.christie@oracle.com>
Acked-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: John Donnelly <john.p.donnelly@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/target/target_core_user.c