All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Juston Li <juston.h.li@gmail.com>
To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com,
	gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	dan.carpenter@oracle.com
Cc: Juston Li <juston.h.li@gmail.com>
Subject: [PATCH v4 10/19] staging: sm750fb: add space after return type
Date: Mon, 29 Jun 2015 10:55:27 -0700	[thread overview]
Message-ID: <1435600536-13135-10-git-send-email-juston.h.li@gmail.com> (raw)
In-Reply-To: <CAFow2F-+fT0iRmFd+H_X-1gBmvCsgehxXeyr7A8Zk9TtfD0aBA@mail.gmail.com>

Fixes checkpatch.pl warning:
WARNING: missing space after return type

Signed-off-by: Juston Li <juston.h.li@gmail.com>
---
 drivers/staging/sm750fb/sm750.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h
index 9989ff6..2d04c0f 100644
--- a/drivers/staging/sm750fb/sm750.h
+++ b/drivers/staging/sm750fb/sm750.h
@@ -108,12 +108,12 @@ struct lynxfb_crtc {
 
 	void *priv;
 
-	int(*proc_setMode)(struct lynxfb_crtc*,
+	int (*proc_setMode)(struct lynxfb_crtc*,
 						struct fb_var_screeninfo*,
 						struct fb_fix_screeninfo*);
 
-	int(*proc_checkMode)(struct lynxfb_crtc*, struct fb_var_screeninfo*);
-	int(*proc_setColReg)(struct lynxfb_crtc*, ushort, ushort, ushort, ushort);
+	int (*proc_checkMode)(struct lynxfb_crtc*, struct fb_var_screeninfo*);
+	int (*proc_setColReg)(struct lynxfb_crtc*, ushort, ushort, ushort, ushort);
 	void (*clear)(struct lynxfb_crtc*);
 	/* pan display */
 	int (*proc_panDisplay)(struct lynxfb_crtc *,
@@ -140,12 +140,12 @@ struct lynxfb_output {
 	*/
 	void *priv;
 
-	int(*proc_setMode)(struct lynxfb_output*,
+	int (*proc_setMode)(struct lynxfb_output*,
 						struct fb_var_screeninfo*,
 						struct fb_fix_screeninfo*);
 
-	int(*proc_checkMode)(struct lynxfb_output*, struct fb_var_screeninfo*);
-	int(*proc_setBLANK)(struct lynxfb_output*, int);
+	int (*proc_checkMode)(struct lynxfb_output*, struct fb_var_screeninfo*);
+	int (*proc_setBLANK)(struct lynxfb_output*, int);
 	void  (*clear)(struct lynxfb_output*);
 };
 
-- 
2.4.4


WARNING: multiple messages have this Message-ID (diff)
From: Juston Li <juston.h.li@gmail.com>
To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com,
	gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	dan.carpenter@oracle.com
Cc: Juston Li <juston.h.li@gmail.com>
Subject: [PATCH v4 10/19] staging: sm750fb: add space after return type
Date: Mon, 29 Jun 2015 17:55:27 +0000	[thread overview]
Message-ID: <1435600536-13135-10-git-send-email-juston.h.li@gmail.com> (raw)
In-Reply-To: <CAFow2F-+fT0iRmFd+H_X-1gBmvCsgehxXeyr7A8Zk9TtfD0aBA@mail.gmail.com>

Fixes checkpatch.pl warning:
WARNING: missing space after return type

Signed-off-by: Juston Li <juston.h.li@gmail.com>
---
 drivers/staging/sm750fb/sm750.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h
index 9989ff6..2d04c0f 100644
--- a/drivers/staging/sm750fb/sm750.h
+++ b/drivers/staging/sm750fb/sm750.h
@@ -108,12 +108,12 @@ struct lynxfb_crtc {
 
 	void *priv;
 
-	int(*proc_setMode)(struct lynxfb_crtc*,
+	int (*proc_setMode)(struct lynxfb_crtc*,
 						struct fb_var_screeninfo*,
 						struct fb_fix_screeninfo*);
 
-	int(*proc_checkMode)(struct lynxfb_crtc*, struct fb_var_screeninfo*);
-	int(*proc_setColReg)(struct lynxfb_crtc*, ushort, ushort, ushort, ushort);
+	int (*proc_checkMode)(struct lynxfb_crtc*, struct fb_var_screeninfo*);
+	int (*proc_setColReg)(struct lynxfb_crtc*, ushort, ushort, ushort, ushort);
 	void (*clear)(struct lynxfb_crtc*);
 	/* pan display */
 	int (*proc_panDisplay)(struct lynxfb_crtc *,
@@ -140,12 +140,12 @@ struct lynxfb_output {
 	*/
 	void *priv;
 
-	int(*proc_setMode)(struct lynxfb_output*,
+	int (*proc_setMode)(struct lynxfb_output*,
 						struct fb_var_screeninfo*,
 						struct fb_fix_screeninfo*);
 
-	int(*proc_checkMode)(struct lynxfb_output*, struct fb_var_screeninfo*);
-	int(*proc_setBLANK)(struct lynxfb_output*, int);
+	int (*proc_checkMode)(struct lynxfb_output*, struct fb_var_screeninfo*);
+	int (*proc_setBLANK)(struct lynxfb_output*, int);
 	void  (*clear)(struct lynxfb_output*);
 };
 
-- 
2.4.4


  parent reply	other threads:[~2015-06-29 17:57 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-29 17:12 [PATCH v4 00/19] staging: sm750fb: checkpatch.pl fixes Juston Li
2015-06-29 17:12 ` Juston Li
2015-06-29 17:55 ` [PATCH v4 01/19] staging: sm750fb: use tabs for indentation Juston Li
2015-06-29 17:55   ` Juston Li
2015-07-15  1:30   ` Greg KH
2015-07-15  1:30     ` Greg KH
2015-06-29 17:55 ` [PATCH v4 02/19] staging: sm750fb: remove spacing after open parenthesis Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 03/19] staging: sm750fb: remove space before close parenthesis Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 04/19] staging: sm750fb: add space before open parenthesis Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 05/19] staging: sm750fb: remove space between function name and parenthesis Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 06/19] staging: sm750fb: add space before open brace Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 07/19] staging: sm750fb: add space after close brace Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 08/19] staging: sm750fb: add space after enum definition Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 09/19] staging: sm750fb: add space after struct definition Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` Juston Li [this message]
2015-06-29 17:55   ` [PATCH v4 10/19] staging: sm750fb: add space after return type Juston Li
2015-06-29 17:55 ` [PATCH v4 11/19] staging: sm750fb: consistent spacing around operators Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 12/19] staging: sm750fb: add spaces " Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 13/19] staging: sm750fb: add space after semicolon Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 14/19] staging: sm750fb: remove trailing whitespace Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 15/19] staging: sm750fb: remove unnecessary whitespace Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 16/19] staging: sm750fb: fix brace placement Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 17/19] staging: sm750fb: move while to follow do close brace Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 18/19] staging: sm750fb: remove unnecessary braces Juston Li
2015-06-29 17:55   ` Juston Li
2015-06-29 17:55 ` [PATCH v4 19/19] staging: sm750fb: add missing blank line after declarations Juston Li
2015-06-29 17:55   ` Juston Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1435600536-13135-10-git-send-email-juston.h.li@gmail.com \
    --to=juston.h.li@gmail.com \
    --cc=dan.carpenter@oracle.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sudipm.mukherjee@gmail.com \
    --cc=teddy.wang@siliconmotion.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.