Re: [PATCH] mmc: fix card block compile warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 22, 2012 at 23:32, Linus Walleij <linus.walleij@xxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux