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: <1322435442.2363.0.camel@palomino.walls.org>
Date:	Sun, 27 Nov 2011 18:10:40 -0500
From:	Andy Walls <awalls@...metrocast.net>
To:	Cong Wang <amwang@...hat.com>
Cc:	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	Mauro Carvalho Chehab <mchehab@...radead.org>,
	ivtv-devel@...vdriver.org, linux-media@...r.kernel.org
Subject: Re: [PATCH 18/62] media: remove the second argument of
 k[un]map_atomic()

On Sun, 2011-11-27 at 13:26 +0800, Cong Wang wrote:
> Signed-off-by: Cong Wang <amwang@...hat.com>

Acked-by: Andy Walls <awalls@...metrocast.net>

Regards,
Andy

> ---
>  drivers/media/video/ivtv/ivtv-udma.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/media/video/ivtv/ivtv-udma.c b/drivers/media/video/ivtv/ivtv-udma.c
> index 69cc816..7338cb2 100644
> --- a/drivers/media/video/ivtv/ivtv-udma.c
> +++ b/drivers/media/video/ivtv/ivtv-udma.c
> @@ -57,9 +57,9 @@ int ivtv_udma_fill_sg_list (struct ivtv_user_dma *dma, struct ivtv_dma_page_info
>  			if (dma->bouncemap[map_offset] == NULL)
>  				return -1;
>  			local_irq_save(flags);
> -			src = kmap_atomic(dma->map[map_offset], KM_BOUNCE_READ) + offset;
> +			src = kmap_atomic(dma->map[map_offset]) + offset;
>  			memcpy(page_address(dma->bouncemap[map_offset]) + offset, src, len);
> -			kunmap_atomic(src, KM_BOUNCE_READ);
> +			kunmap_atomic(src);
>  			local_irq_restore(flags);
>  			sg_set_page(&dma->SGlist[map_offset], dma->bouncemap[map_offset], len, offset);
>  		}


--
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