* [PATCH] Staging: rtlwifi: pci: fixed coding style issues
@ 2017-10-23 7:44 Woohyung Jeon
2017-10-23 7:51 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Woohyung Jeon @ 2017-10-23 7:44 UTC (permalink / raw)
To: gregkh
Cc: Larry.Finger, frank, dan.carpenter, devel, linux-kernel, Woohyung Jeon
Fixed 2 coding style issues.
There was two coding style issues and they were fixed.
c:2233 - unnecessary parenthesis was there, so removed.
c:652 - prohibited space was there, so removed.
Signed-off-by: Woohyung-Jeon <w.h.jeon329@gmail.com>
---
drivers/staging/rtlwifi/pci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtlwifi/pci.c b/drivers/staging/rtlwifi/pci.c
index 4035b8835bd1..2d4ef25a0606 100644
--- a/drivers/staging/rtlwifi/pci.c
+++ b/drivers/staging/rtlwifi/pci.c
@@ -649,7 +649,7 @@ static void _rtl_pci_tx_isr(struct ieee80211_hw *hw, int prio)
prio, ring->idx,
skb_queue_len(&ring->queue));
- ieee80211_wake_queue(hw, skb_get_queue_mapping (skb));
+ ieee80211_wake_queue(hw, skb_get_queue_mapping(skb));
}
tx_status_ok:
skb = NULL;
@@ -2230,7 +2230,7 @@ int rtl_pci_probe(struct pci_dev *pdev,
return err;
}
- if (((struct rtl_hal_cfg *)(id->driver_data))->mod_params->dma64 &&
+ if (((struct rtl_hal_cfg *)id->driver_data)->mod_params->dma64 &&
!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
if (pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64))) {
WARN_ONCE(true,
--
2.14.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: rtlwifi: pci: fixed coding style issues
2017-10-23 7:44 [PATCH] Staging: rtlwifi: pci: fixed coding style issues Woohyung Jeon
@ 2017-10-23 7:51 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2017-10-23 7:51 UTC (permalink / raw)
To: Woohyung Jeon; +Cc: Larry.Finger, frank, dan.carpenter, devel, linux-kernel
On Mon, Oct 23, 2017 at 04:44:24PM +0900, Woohyung Jeon wrote:
> Fixed 2 coding style issues.
>
> There was two coding style issues and they were fixed.
> c:2233 - unnecessary parenthesis was there, so removed.
> c:652 - prohibited space was there, so removed.
That's two different things, please send two different patches as part
of a series of patches.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-23 7:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-23 7:44 [PATCH] Staging: rtlwifi: pci: fixed coding style issues Woohyung Jeon
2017-10-23 7:51 ` Greg KH
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.