LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 4/3] saa7146: remaining checkpatch errors
@ 2008-03-02 23:21 Harvey Harrison
  0 siblings, 0 replies; only message in thread
From: Harvey Harrison @ 2008-03-02 23:21 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: LKML, Andrew Morton

space after comma and placement of * in function declaration.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-02 23:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-02 23:21 [PATCH 4/3] saa7146: remaining checkpatch errors Harvey Harrison

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).