Potential Bug in drivers/mmc/
Hi,
I'm new to Linux kernel code, but I think I spot a bug in a commit made to drivers/mmc/core/bus.c in 2.6.36, back in Aug 2010.
Here's the GIT URL showing the changes in this commit:
At line 239, the following code change was made:
+ case MMC_TYPE_SD_COMBO:
+ type = "SD-combo";
+ if (mmc_card_blockaddr(card))
+ type = "SDHC-combo";
The bug : I would have expected to see a "break" at the end of the new case entry. I don't see this, even in a later version of the source (namely 2.6.38).
Please take a look, and also let me know what you decide.
Thanks,
Prashanth Bhat
=============================================================
Prashanth B. Bhat, Ph. D.
Chief Technology Officer,
Manipal Dot Net Pvt. Ltd.
Manipal 576 104 INDIA
http://www.linkedin.com/in/prashanthbhat
http://www.manipal.net
[email protected]
=============================================================