On Fri, Mar 23, 2012 at 6:46 AM, Rabin Vincent <[email protected]> wrote:
> On Thu, Mar 22, 2012 at 23:32, Linus Walleij <[email protected]> wrote:
>> By reading the code you can easily see that the variables aren't
>> actually used uninitialized, it's juts GCC that is unable to
>> follow the code path and determine that they are initialized in
>> all paths.
>
> If the mmc_switch(..SANITIZE_START..) returns -EIO and mmc_blk_reset()
> returns 0, then the variables _are_ used uninitialized.

Argh! You're right. (As usual.)

But that makes me wonder if the code flow is even correct
for sanitize.

I'll have a closer look and come up with something better!

Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to