mmc: initialize an err variable
A message that is not in the archive (sent off-list or not yet received): CGME20201203213537epcas1p349263156c1cee823a589cbc44646d736@epcas1p3.samsung.com
PATCH 1/1 mmc: initialize an err variable
Initialize an err variable to 0.
Signed-off-by Jaehoon Chung <[email protected]>
--- drivers/mmc/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/mmc.c +1 -1
@@ -2062,7 +2062,7 @@ static int mmc_select_hs400es(struct mmc *mmc)static int mmc_select_mode_and_width (struct mmc *mmc,uint card_caps) { -int err; +int err =0 ;const struct mode_width_tuning *mwt;const struct ext_csd_bus_width *ecbw;
Signature · 1 line
2.29.0
PATCH 1/1 mmc: initialize an err variable
Quoted 3 lines · Jaehoon Chung
Initialize an err variable to 0.
Signed-off-by Jaehoon Chung <[email protected]>
Reported-by Coverity (CID: 313548)
Reviewed-by Tom Rini <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201207/4eaf2f16/attachment.sig>
PATCH 1/1 mmc: initialize an err variable
Quoted 8 lines · Tom Rini
Quoted 3 lines · Jaehoon Chung
Initialize an err variable to 0.
Signed-off-by Jaehoon Chung <[email protected]>Reported-by Coverity (CID: 313548)Reviewed-by Tom Rini <[email protected]>
Ping. Is there any progress about this patch?
Best Regards,
Jaehoon Chung