mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-05-22 14:46:42 +00:00

mmc_priv() has some nasty effects if the wrong pointer type is passed to it. Introduce type checking, which also means we get the right type. Also add an additional member to mmc_host which is used to align host-private data appropriately. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>