Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd484b86 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Greg Kroah-Hartman
Browse files

Staging: spectra: initializa lblk variable



Fix a compile warning by initializaing lblk. Since FTL_Get_Block_Index()
returns BAD_BLOCK if it doesn't find the logical block number, lblk
number is initizalized to BAD_BLOCK.


Signed-off-by: default avatarJavier Martinez Canillas <martinez.javier@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 676cecaa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1698,7 +1698,7 @@ static int get_l2_cache_blks(void)
static int erase_l2_cache_blocks(void)
{
	int i, ret = PASS;
	u32 pblk, lblk;
	u32 pblk, lblk = BAD_BLOCK;
	u64 addr;
	u32 *pbt = (u32 *)g_pBlockTable;