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


Groups > linux.kernel > #1598240

[PATCH 2/3] staging: sm750fb: fixes add blank line after function/struct/union/enum declarations

From Arushi Singhal <arushisinghal19971997@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 2/3] staging: sm750fb: fixes add blank line after function/struct/union/enum declarations
Date 2017-03-11 04:30 +0100
Message-ID <tjFTb-59T-7@gated-at.bofh.it> (permalink)
References <tjFTb-59T-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch fixes the warnings reported by checkpatch.pl
for please use a blank line after function/struct/union/enum
declarations.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
---
 drivers/staging/sm750fb/sm750_cursor.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c
index 612e9ab9d569..b64dc8a4a8fb 100644
--- a/drivers/staging/sm750fb/sm750_cursor.c
+++ b/drivers/staging/sm750fb/sm750_cursor.c
@@ -54,6 +54,7 @@ void sm750_hw_cursor_enable(struct lynx_cursor *cursor)
 	reg = (cursor->offset & HWC_ADDRESS_ADDRESS_MASK) | HWC_ADDRESS_ENABLE;
 	poke32(HWC_ADDRESS, reg);
 }
+
 void sm750_hw_cursor_disable(struct lynx_cursor *cursor)
 {
 	poke32(HWC_ADDRESS, 0);
@@ -65,6 +66,7 @@ void sm750_hw_cursor_setSize(struct lynx_cursor *cursor,
 	cursor->w = w;
 	cursor->h = h;
 }
+
 void sm750_hw_cursor_setPos(struct lynx_cursor *cursor,
 						int x, int y)
 {
@@ -74,6 +76,7 @@ void sm750_hw_cursor_setPos(struct lynx_cursor *cursor,
 	       (x & HWC_LOCATION_X_MASK);
 	poke32(HWC_LOCATION, reg);
 }
+
 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor,
 						u32 fg, u32 bg)
 {
-- 
2.11.0

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


Thread

[PATCH 0/3] staging: sm750fb: multiple checkpatch issues Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-11 04:30 +0100
  [PATCH 1/3] staging: sm750fb: function prototype argument should have an identifier name Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-11 04:30 +0100
    Re: [Outreachy kernel] [PATCH 1/3] staging: sm750fb: function  prototype argument should have an identifier name Julia Lawall <julia.lawall@lip6.fr> - 2017-03-11 08:00 +0100
  [PATCH 2/3] staging: sm750fb: fixes add blank line after function/struct/union/enum declarations Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-11 04:30 +0100
  Re: [PATCH 0/3] staging: sm750fb: multiple checkpatch issues Greg KH <gregkh@linuxfoundation.org> - 2017-03-12 15:10 +0100

csiph-web