Re: [PATCH 4.1] mmc: sdhci: fix dma memory leak in sdhci_pre_req()

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

 



On 10/06/2015, 10:59 AM, Jiri Slaby wrote:
> [js] add sg_count to mmc_data as happenned in 208489032bdd8d (mmc:
>      mediatek: Add Mediatek MMC driver).

I don't know if this is justifiable or how otherwise to solve this...
The prereq 208489032bdd8d is way too big for stable, I suppose.

> --- a/include/linux/mmc/core.h
> +++ b/include/linux/mmc/core.h
> @@ -121,6 +121,7 @@ struct mmc_data {
>  	struct mmc_request	*mrq;		/* associated request */
>  
>  	unsigned int		sg_len;		/* size of scatter list */
> +	int			sg_count;	/* mapped sg entries */
>  	struct scatterlist	*sg;		/* I/O scatter list */
>  	s32			host_cookie;	/* host private data */
>  };
> 

thanks,
-- 
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]