All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Staging: Remove unnecessary space after a cast
@ 2016-09-19 12:12 Sandhya Bankar
  2016-09-19 12:14 ` [PATCH 1/2] Staging: vt6655: baseband: " Sandhya Bankar
  2016-09-19 12:17 ` [PATCH 2/2] Staging: vt6655: card: " Sandhya Bankar
  0 siblings, 2 replies; 3+ messages in thread
From: Sandhya Bankar @ 2016-09-19 12:12 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: forest, gregkh

No space is necessary after a cast. This issue was found by checkpatch.

Sandhya Bankar (2):
  Staging: vt6655: baseband: Remove unnecessary space after a cast
  Staging: vt6655: card: Remove unnecessary space after a cast

 drivers/staging/vt6655/baseband.c |    2 +-
 drivers/staging/vt6655/card.c     |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] Staging: vt6655: baseband: Remove unnecessary space after a cast
  2016-09-19 12:12 [PATCH 0/2] Staging: Remove unnecessary space after a cast Sandhya Bankar
@ 2016-09-19 12:14 ` Sandhya Bankar
  2016-09-19 12:17 ` [PATCH 2/2] Staging: vt6655: card: " Sandhya Bankar
  1 sibling, 0 replies; 3+ messages in thread
From: Sandhya Bankar @ 2016-09-19 12:14 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: gregkh, forest

No space is necessary after a cast. This issue was found by checkpatch.

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
---
 drivers/staging/vt6655/baseband.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/vt6655/baseband.c b/drivers/staging/vt6655/baseband.c
index 654d072..de503a3 100644
--- a/drivers/staging/vt6655/baseband.c
+++ b/drivers/staging/vt6655/baseband.c
@@ -1729,7 +1729,7 @@ BBuGetFrameTime(
 	unsigned int uFrameTime;
 	unsigned int uPreamble;
 	unsigned int uTmp;
-	unsigned int uRateIdx = (unsigned int) wRate;
+	unsigned int uRateIdx = (unsigned int)wRate;
 	unsigned int uRate = 0;
 
 	if (uRateIdx > RATE_54M)
-- 
1.7.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] Staging: vt6655: card: Remove unnecessary space after a cast
  2016-09-19 12:12 [PATCH 0/2] Staging: Remove unnecessary space after a cast Sandhya Bankar
  2016-09-19 12:14 ` [PATCH 1/2] Staging: vt6655: baseband: " Sandhya Bankar
@ 2016-09-19 12:17 ` Sandhya Bankar
  1 sibling, 0 replies; 3+ messages in thread
From: Sandhya Bankar @ 2016-09-19 12:17 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: forest, gregkh

No space is necessary after a cast. This issue was found by checkpatch.

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
---
 drivers/staging/vt6655/card.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c
index afb1e8b..dbcea44 100644
--- a/drivers/staging/vt6655/card.c
+++ b/drivers/staging/vt6655/card.c
@@ -619,7 +619,7 @@ CARDvSafeResetRx(
 static unsigned short CARDwGetCCKControlRate(struct vnt_private *priv,
 					     unsigned short wRateIdx)
 {
-	unsigned int ui = (unsigned int) wRateIdx;
+	unsigned int ui = (unsigned int)wRateIdx;
 
 	while (ui > RATE_1M) {
 		if (priv->basic_rates & ((u32)0x1 << ui))
@@ -645,7 +645,7 @@ static unsigned short CARDwGetCCKControlRate(struct vnt_private *priv,
 static unsigned short CARDwGetOFDMControlRate(struct vnt_private *priv,
 					      unsigned short wRateIdx)
 {
-	unsigned int ui = (unsigned int) wRateIdx;
+	unsigned int ui = (unsigned int)wRateIdx;
 
 	pr_debug("BASIC RATE: %X\n", priv->basic_rates);
 
-- 
1.7.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-19 12:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-19 12:12 [PATCH 0/2] Staging: Remove unnecessary space after a cast Sandhya Bankar
2016-09-19 12:14 ` [PATCH 1/2] Staging: vt6655: baseband: " Sandhya Bankar
2016-09-19 12:17 ` [PATCH 2/2] Staging: vt6655: card: " Sandhya Bankar

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.