Skip to contentSkip to conversation

saa7146: remaining checkpatch errors

PATCH Harvey Harrison 1 participant 1 message Mar 2, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

space after comma and placement of * in function declaration.

---
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(-)
drivers/media/common/saa7146_core.c +2 -2
index 7d44bb3..3b5c030 100644
@@ -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;
 
Signature · 1 line
1.5.4.3.409.g8811