All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: initialize an err variable
       [not found] <CGME20201203213537epcas1p349263156c1cee823a589cbc44646d736@epcas1p3.samsung.com>
@ 2020-12-03 21:36 ` Jaehoon Chung
  2020-12-07 22:10   ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Jaehoon Chung @ 2020-12-03 21:36 UTC (permalink / raw)
  To: u-boot

Initialize an err variable to 0.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
---
 drivers/mmc/mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index a6394bcf308f..5151339d3aa3 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -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;
 
-- 
2.29.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] mmc: initialize an err variable
  2020-12-03 21:36 ` [PATCH] mmc: initialize an err variable Jaehoon Chung
@ 2020-12-07 22:10   ` Tom Rini
  2021-02-18  0:19     ` Jaehoon Chung
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2020-12-07 22:10 UTC (permalink / raw)
  To: u-boot

On Fri, Dec 04, 2020 at 06:36:00AM +0900, Jaehoon Chung wrote:

> Initialize an err variable to 0.
> 
> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>

Reported-by: Coverity (CID: 313548)
Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] mmc: initialize an err variable
  2020-12-07 22:10   ` Tom Rini
@ 2021-02-18  0:19     ` Jaehoon Chung
  0 siblings, 0 replies; 3+ messages in thread
From: Jaehoon Chung @ 2021-02-18  0:19 UTC (permalink / raw)
  To: u-boot

On 12/8/20 7:10 AM, Tom Rini wrote:
> On Fri, Dec 04, 2020 at 06:36:00AM +0900, Jaehoon Chung wrote:
> 
>> Initialize an err variable to 0.
>>
>> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
> 
> Reported-by: Coverity (CID: 313548)
> Reviewed-by: Tom Rini <trini@konsulko.com>

Ping. Is there any progress about this patch?

Best Regards,
Jaehoon Chung

> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-18  0:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20201203213537epcas1p349263156c1cee823a589cbc44646d736@epcas1p3.samsung.com>
2020-12-03 21:36 ` [PATCH] mmc: initialize an err variable Jaehoon Chung
2020-12-07 22:10   ` Tom Rini
2021-02-18  0:19     ` Jaehoon Chung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.