Potential Bug in drivers/mmc/

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

 



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:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=7310ece86ad7da027f85a37a0638164118a5d12f

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
prashanth.bhat@xxxxxxxxxxx
=============================================================
--
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