lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1214876858.11537.91.camel@violet.holtmann.net>
Date:	Tue, 01 Jul 2008 03:47:38 +0200
From:	Marcel Holtmann <marcel@...tmann.org>
To:	Tomas Winkler <tomas.winkler@...el.com>
Cc:	drzeus-list@...eus.cx, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/5] MMC: fix spares errors of sdhci.c

Hi Tomas,

>  	if (host->flags & SDHCI_REQ_USE_DMA) {
> -		int count;
> +		int dma_cnt;
>  
> -		count = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len,
> +		dma_cnt = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len,
>  				(data->flags & MMC_DATA_READ) ?
>  					DMA_FROM_DEVICE : DMA_TO_DEVICE);
> -		WARN_ON(count != 1);
> +		WARN_ON(dma_cnt != 1);

can you include what sparse error this is trying to fix. From the patch
itself, I can't see it.

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ