Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1283676

[PATCH] Staging: pnp: Fix "foo* bar" should be "foo *bar" errors From: Yash Shah <yshah1@visteon.com>

From "Shah, Yash (Y.)" <yshah1@visteon.com>
Newsgroups linux.kernel
Subject [PATCH] Staging: pnp: Fix "foo* bar" should be "foo *bar" errors From: Yash Shah <yshah1@visteon.com>
Date 2015-12-04 10:40 +0100
Message-ID <qBV0l-Sz-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Fix "foo* bar" should be "foo *bar" errors as detected by checkpatch.pl

Signed-off-by: Yash Shah <yshah1@visteon.com>
---
 drivers/pnp/interface.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/pnp/interface.c b/drivers/pnp/interface.c
index 4b6808f..860fca3 100644
--- a/drivers/pnp/interface.c
+++ b/drivers/pnp/interface.c
@@ -32,7 +32,7 @@ struct pnp_info_buffer {
 
 typedef struct pnp_info_buffer pnp_info_buffer_t;
 
-static int pnp_printf(pnp_info_buffer_t * buffer, char *fmt, ...)
+static int pnp_printf(pnp_info_buffer_t *buffer, char *fmt, ...)
 {
 	va_list args;
 	int res;
@@ -51,7 +51,7 @@ static int pnp_printf(pnp_info_buffer_t * buffer, char *fmt, ...)
 	return res;
 }
 
-static void pnp_print_port(pnp_info_buffer_t * buffer, char *space,
+static void pnp_print_port(pnp_info_buffer_t *buffer, char *space,
 			   struct pnp_port *port)
 {
 	pnp_printf(buffer, "%sport %#llx-%#llx, align %#llx, size %#llx, "
@@ -63,7 +63,7 @@ static void pnp_print_port(pnp_info_buffer_t * buffer, char *space,
 		   port->flags & IORESOURCE_IO_16BIT_ADDR ? 16 : 10);
 }
 
-static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space,
+static void pnp_print_irq(pnp_info_buffer_t *buffer, char *space,
 			  struct pnp_irq *irq)
 {
 	int first = 1, i;
@@ -96,7 +96,7 @@ static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space,
 	pnp_printf(buffer, "\n");
 }
 
-static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space,
+static void pnp_print_dma(pnp_info_buffer_t *buffer, char *space,
 			  struct pnp_dma *dma)
 {
 	int first = 1, i;
@@ -148,7 +148,7 @@ static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space,
 	pnp_printf(buffer, " %s\n", s);
 }
 
-static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space,
+static void pnp_print_mem(pnp_info_buffer_t *buffer, char *space,
 			  struct pnp_mem *mem)
 {
 	char *s;
@@ -184,7 +184,7 @@ static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space,
 	pnp_printf(buffer, ", %s\n", s);
 }
 
-static void pnp_print_option(pnp_info_buffer_t * buffer, char *space,
+static void pnp_print_option(pnp_info_buffer_t *buffer, char *space,
 			     struct pnp_option *option)
 {
 	switch (option->type) {
-- 
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] Staging: pnp: Fix "foo* bar" should be "foo *bar" errors  From: Yash Shah <yshah1@visteon.com> "Shah, Yash (Y.)" <yshah1@visteon.com> - 2015-12-04 10:40 +0100

csiph-web