Hey all,

Just a minor issue to fix from the latest scan.  A fixes tag on
19f7a34a4642e25aa8b80c6d75129fe7848a158d would be appropriate.  Thanks!

----- Forwarded message from scan-ad...@coverity.com -----

Date: Tue, 14 Sep 2021 23:10:58 +0000 (UTC)
From: scan-ad...@coverity.com
To: tom.r...@gmail.com
Subject: New Defects reported by Coverity Scan for Das U-Boot

Hi,

Please find the latest report on new defect(s) introduced to Das U-Boot found 
with Coverity Scan.

1 new defect(s) introduced to Das U-Boot found with Coverity Scan.
3 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent 
build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 338845:  Null pointer dereferences  (REVERSE_INULL)
/drivers/mmc/mmc.c: 3085 in mmc_init_device()


________________________________________________________________________________________________________
*** CID 338845:  Null pointer dereferences  (REVERSE_INULL)
/drivers/mmc/mmc.c: 3085 in mmc_init_device()
3079                            return ret;
3080            }
3081     
3082            m = mmc_get_mmc_dev(dev);
3083            m->user_speed_mode = MMC_MODES_END; /* Initialising user set 
speed mode */
3084     
>>>     CID 338845:  Null pointer dereferences  (REVERSE_INULL)
>>>     Null-checking "m" suggests that it may be null, but it has already been 
>>> dereferenced on all paths leading to the check.
3085            if (!m)
3086                    return 0;
3087            if (m->preinit)
3088                    mmc_start_init(m);
3089     
3090            return 0;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yoA22WlOQ-2By3ieUvdbKmOyw68TMVT4Kip-2BBzfOGWXJ5yIiYplmPF9KAnKIja4Zd7tU-3DRWeY_EEm8SbLgSDsaDZif-2Bv7ch8WqhKpLoKErHi4nXpwDNTu3vYiCvsy-2F4Q187kdIvXEo5jWH8-2FKD7MYSJdIip3-2Byx1oYllNoM-2F0ob1q3wtaHWq0tUNaaBFtPBtgqFvkSGHsIlwT00tS5zQP-2BCb6DQYEFZ2k5NYPFr6RdNzSJtDjKq86BuqLAmJb30Q54nF-2Fk-2Bb4BEFQu8TD4BC9Si1Mg8VeIWQ-3D-3D

  To manage Coverity Scan email notifications for "tom.r...@gmail.com", click 
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yped04pjJnmXOsUBtKYNIXxWeIHzDeopm-2BEWQ6S6K-2FtUHv9ZTk8qZbuzkkz9sa-2BJFw4elYDyedRVZOC-2ButxjBZdouVmTGuWB6Aj6G7lm7t25-2Biv1B-2B9082pHzCCex2kqMs-3Dq0B2_EEm8SbLgSDsaDZif-2Bv7ch8WqhKpLoKErHi4nXpwDNTu3vYiCvsy-2F4Q187kdIvXEoqfDQ5N8pBM-2Fjgu-2FDSK-2F-2FefZxW44efUFPv-2BUNG5gusOb1n0Y4Wtmh-2FGP7sAeHBsIh-2Fx2TbIe016grlxclHcizP0vNuIKH-2BJmHpfqnTTU1oORi0tFLIe2oPa-2BmwlB5lSAS-2BKQGq533LaGbEGxmYXNErg-3D-3D


----- End forwarded message -----

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to