Hi Mike, Sonic,

On Tue, Jan 11, 2011 at 10:39:35PM -0500, Mike Frysinger wrote:
> From: Sonic Zhang <sonic.zh...@analog.com>
> 
> The bfin_sdh driver allocates the wrong size for the private data
> in the mmc_host.  The first parameter of mmc_alloc_host should be
> the size of the local driver struct rather than the common mmc_host.
>  
> -     mmc = mmc_alloc_host(sizeof(*mmc), &pdev->dev);
> +     mmc = mmc_alloc_host(sizeof(*host), &pdev->dev);

Thanks, I'll add a stable tag and merge as a .38 fix.  Mind if we
use "mmc_alloc_host(sizeof(struct sdh_host), &pdev-dev);" instead?

-- 
Chris Ball   <c...@laptop.org>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to