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


Groups > linux.kernel > #1299114 > unrolled thread

[PATCH 0/5] Staging: panel: TODO fixes

Started byKsenija Stanojevic <ksenija.stanojevic@gmail.com>
First post2015-12-29 21:10 +0100
Last post2015-12-29 21:20 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/5] Staging: panel: TODO fixes Ksenija Stanojevic <ksenija.stanojevic@gmail.com> - 2015-12-29 21:10 +0100
    [PATCH 5/5] Staging: panel: Make statement more readable Ksenija Stanojevic <ksenija.stanojevic@gmail.com> - 2015-12-29 21:20 +0100

#1299114 — [PATCH 0/5] Staging: panel: TODO fixes

FromKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Date2015-12-29 21:10 +0100
Subject[PATCH 0/5] Staging: panel: TODO fixes
Message-ID<qL8KJ-5c0-7@gated-at.bofh.it>
This patchset is based on patch sent by Bijosh Thykkoottathil.
Here I tried to address all suggestions made by Dan and Willy.

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>

Ksenija Stanojevic (5):
  Staging: panel: Use u8 type
  Staging: panel: Remove typedef pmask_t
  Staging: panel: Remove ULL
  Staging: panel: Reduce value range for *name
  Staging: panel: Make statement more readable

 drivers/staging/panel/panel.c | 46 +++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 24 deletions(-)

-- 
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/

[toc] | [next] | [standalone]


#1299119 — [PATCH 5/5] Staging: panel: Make statement more readable

FromKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Date2015-12-29 21:20 +0100
Subject[PATCH 5/5] Staging: panel: Make statement more readable
Message-ID<qL8Uq-5fn-9@gated-at.bofh.it>
In reply to#1299114
Broke statement into 3 different lines to make it more readable.

Signeded-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
---
 drivers/staging/panel/panel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c
index 70cb9f3..207d8d5 100644
--- a/drivers/staging/panel/panel.c
+++ b/drivers/staging/panel/panel.c
@@ -2054,8 +2054,8 @@ static u8 input_name2mask(const char *name, __u64 *mask, __u64 *value,
 	while (*name) {
 		int in, out, bit, neg;
 
-		for (in = 0; (in < sizeof(sigtab)) && (sigtab[in] != *name);
-		     in++)
+		for (in = 0;
+		    (in < sizeof(sigtab)) && (sigtab[in] != *name); in++)
 			;
 
 		if (in >= sizeof(sigtab))
-- 
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web