[PATCH 4/3] saa7146: remaining checkpatch errors

From: Harvey Harrison
Date: Sun Mar 02 2008 - 18:21:53 EST


space after comma and placement of * in function declaration.

Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>
---
Apparently I still had a little bit of energy left for this file.

drivers/media/common/saa7146_core.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/common/saa7146_core.c b/drivers/media/common/saa7146_core.c
index 7d44bb3..3b5c030 100644
--- a/drivers/media/common/saa7146_core.c
+++ b/drivers/media/common/saa7146_core.c
@@ -145,7 +145,7 @@ EXPORT_SYMBOL_GPL(saa7146_wait_for_debi_done);
/* this is videobuf_vmalloc_to_sg() from videobuf-dma-sg.c
make sure virt has been allocated with vmalloc_32(), otherwise the BUG()
may be triggered on highmem machines */
-static struct scatterlist* vmalloc_to_sg(unsigned char *virt, int nr_pages)
+static struct scatterlist *vmalloc_to_sg(unsigned char *virt, int nr_pages)
{
struct scatterlist *sglist;
struct page *pg;
@@ -189,7 +189,7 @@ void *saa7146_vmalloc_build_pgtable(struct pci_dev *pci, long length, struct saa
goto err_free_slist;

pt->nents = pages;
- slen = pci_map_sg(pci,pt->slist,pt->nents,PCI_DMA_FROMDEVICE);
+ slen = pci_map_sg(pci, pt->slist, pt->nents, PCI_DMA_FROMDEVICE);
if (!slen)
goto err_free_pgtable;

--
1.5.4.3.409.g8811



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