]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: core: ext_csd.raw_* used in comparison but never set
authorAndrei Warkentin <andrey.warkentin@gmail.com>
Sat, 24 Sep 2011 16:12:30 +0000 (12:12 -0400)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:45 +0000 (11:17 -0800)
commit4492db2d6c6f92a40b697442a5ae147a45f64622
tree5c59782911f45df1d688aea1f305e635004b2c81
parent42cb1504d1a19a69d124ff1f2141a6c9eb3f97d2
mmc: core: ext_csd.raw_* used in comparison but never set

commit 5238acbe36dd5100fb6b035a995ae5fc89dd0708 upstream.

f39b2dd9d ("mmc: core: Bus width testing needs to handle suspend/resume")
added code to only compare read-only ext_csd fields in bus width testing
code, yet it's comparing some fields that are never set.

The affected fields are ext_csd.raw_erased_mem_count and
ext_csd.raw_partition_support.

Signed-off-by: Andrei Warkentin <andrey.warkentin@gmail.com>
Acked-by: Philip Rakity <prakity@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mmc/core/mmc.c