From: Tobias Klauser Date: Mon, 14 Mar 2005 19:54:30 +0000 Subject: [KJ] [PATCH] drivers/media/video/meye.c: Use the DMA_32BIT_MASK Message-Id: <20050314195430.GA4300@localhost.localdomain> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============57026449343296348==" List-Id: To: kernel-janitors@vger.kernel.org --===============57026449343296348== Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, Description: Use the DMA_32BIT_MASK constant from dma-mapping.h when calling dma_set_mask(). Signed-off-by: Tobias Klauser --- linux-2.6.11.orig/drivers/media/video/meye.c 2005-03-02 12:50:30.000000000 +0100 +++ linux-2.6.11/drivers/media/video/meye.c 2005-03-10 18:20:05.000000000 +0100 @@ -121,7 +121,7 @@ static int ptable_alloc(void) memset(meye.mchip_ptable, 0, sizeof(meye.mchip_ptable)); /* give only 32 bit DMA addresses */ - if (dma_set_mask(&meye.mchip_dev->dev, 0xffffffff)) + if (dma_set_mask(&meye.mchip_dev->dev, DMA_32BIT_MASK)) return -1; meye.mchip_ptable_toc = dma_alloc_coherent(&meye.mchip_dev->dev, --===============57026449343296348== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.osdl.org http://lists.osdl.org/mailman/listinfo/kernel-janitors --===============57026449343296348==--