[PATCH] staging: sm750fb: Added a space

Subsystems: staging - silicon motion sm750 frame buffer driver, staging subsystem, the rest

STALE4007d

2 messages, 2 authors, 2015-09-15 · open the first message on its own page

[PATCH] staging: sm750fb: Added a space

From: Anjali Menon <hidden>
Date: 2015-09-14 10:58:34

Added a space to fix the following coding style error detected by
checkpatch.

ERROR: space required before the open parenthesis '('

Signed-off-by: Anjali Menon <redacted>
---
 drivers/staging/sm750fb/ddk750_dvi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c
index f5932bb..1eea768 100644
--- a/drivers/staging/sm750fb/ddk750_dvi.c
+++ b/drivers/staging/sm750fb/ddk750_dvi.c
@@ -45,7 +45,7 @@ int dviInit(
 {
 	dvi_ctrl_device_t *pCurrentDviCtrl;
 	pCurrentDviCtrl = g_dcftSupportedDviController;
-	if(pCurrentDviCtrl->pfnInit != NULL)
+	if (pCurrentDviCtrl->pfnInit != NULL)
 	{
 		return pCurrentDviCtrl->pfnInit(edgeSelect, busSelect, dualEdgeClkSelect, hsyncEnable,
                               vsyncEnable, deskewEnable, deskewSetting, continuousSyncEnable,
-- 
1.9.1

Re: [PATCH] staging: sm750fb: Added a space

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2015-09-15 13:33:24

On Mon, Sep 14, 2015 at 04:28:20PM +0530, Anjali Menon wrote:
Added a space to fix the following coding style error detected by
checkpatch.

ERROR: space required before the open parenthesis '('

Signed-off-by: Anjali Menon <redacted>
---
 drivers/staging/sm750fb/ddk750_dvi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
This patch doesn't apply to my tree at all, what did you make it
against?

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help