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


Groups > linux.kernel > #1497376

[PATCH 2/3] Staging: i4l: Error "open brace { should be on the previous line" fixed.

From Harman Kalra <harman4linux@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 2/3] Staging: i4l: Error "open brace { should be on the previous line" fixed.
Date 2016-10-07 19:20 +0200
Message-ID <spGYp-3AS-13@gated-at.bofh.it> (permalink)
References <soOlj-5DW-7@gated-at.bofh.it> <spGOJ-3x4-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Errors "open brace { should be on the previous line" caught by checkpatch.pl  fixed.
Signed-off-by: Harman Kalra <harman4linux@gmail.com>
---
 drivers/staging/i4l/icn/icn.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/i4l/icn/icn.h b/drivers/staging/i4l/icn/icn.h
index aa4c593..8d0182c 100644
--- a/drivers/staging/i4l/icn/icn.h
+++ b/drivers/staging/i4l/icn/icn.h
@@ -187,8 +187,7 @@
 #ifdef __KERNEL__
 
 static icn_card *cards = (icn_card *) 0;
-static u_char chan2bank[] =
-{0, 4, 8, 12};                  /* for icn_map_channel() */
+static u_char chan2bank[] = {0, 4, 8, 12};                  /* for icn_map_channel() */
 
 static icn_dev dev;
 
-- 
1.7.9.5

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


Thread

[PATCH] staging: i4l: icn: fixed some errors and warnings caught by checkpatch.pl Harman Kalra <harman4linux@gmail.com> - 2016-10-04 23:00 +0200
  Re: [PATCH] staging: i4l: icn: fixed some errors and warnings caught  by checkpatch.pl Greg KH <gregkh@linuxfoundation.org> - 2016-10-05 09:00 +0200
    [PATCH 3/3] Staging: i4l: Error "open brace { should be on the previous line" fixed. Harman Kalra <harman4linux@gmail.com> - 2016-10-07 19:10 +0200
      Re: [PATCH 3/3] Staging: i4l: Error "open brace { should be on the  previous line" fixed. Greg KH <gregkh@linuxfoundation.org> - 2016-10-09 17:00 +0200
    [PATCH 1/3] Staging: i4l: Warning "Prefer "pr_debug over printk(KERN_DEBUG... " fixed Harman Kalra <harman4linux@gmail.com> - 2016-10-07 19:20 +0200
      [PATCH 2/3] Staging: i4l: Error "open brace { should be on the previous line" fixed. Harman Kalra <harman4linux@gmail.com> - 2016-10-07 19:20 +0200
        Re: [PATCH 2/3] Staging: i4l: Error "open brace { should be on the  previous line" fixed. Greg KH <gregkh@linuxfoundation.org> - 2016-10-09 17:10 +0200
          [PATCH 3/3] Staging: i4l: icn: Fixed open brace should be on previous line error Harman Kalra <harman4linux@gmail.com> - 2016-10-09 17:40 +0200
          [PATCH 2/3] Staging: i4l: icn: prefer pr_* instead of printk Harman Kalra <harman4linux@gmail.com> - 2016-10-09 17:40 +0200
          [PATCH 1/3] Staging: i4l: icn: Fixed open brace should be on previous line error Harman Kalra <harman4linux@gmail.com> - 2016-10-09 17:40 +0200
      Re: [PATCH 1/3] Staging: i4l: Warning "Prefer "pr_debug over  printk(KERN_DEBUG... " fixed Joe Perches <joe@perches.com> - 2016-10-07 23:00 +0200
      Re: [PATCH 1/3] Staging: i4l: Warning "Prefer "pr_debug over  printk(KERN_DEBUG... " fixed Greg KH <gregkh@linuxfoundation.org> - 2016-10-09 17:00 +0200

csiph-web