* [PATCH] b43: Fix use true/false for bool type variable.
@ 2019-10-28 19:12 Saurav Girepunje
2019-10-31 8:08 ` [PATCH] b43: dma: " Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Saurav Girepunje @ 2019-10-28 19:12 UTC (permalink / raw)
To: kvalo, davem, tglx, saurav.girepunje, allison, swinslow, mcgrof,
linux-wireless, b43-dev, netdev, linux-kernel
Cc: saurav.girepunje
use true/false for bool type variables assignment.
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
---
drivers/net/wireless/broadcom/b43/dma.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/broadcom/b43/dma.c b/drivers/net/wireless/broadcom/b43/dma.c
index 31bf71a80c26..9733c64bf978 100644
--- a/drivers/net/wireless/broadcom/b43/dma.c
+++ b/drivers/net/wireless/broadcom/b43/dma.c
@@ -1400,7 +1400,7 @@ int b43_dma_tx(struct b43_wldev *dev, struct sk_buff *skb)
/* This TX ring is full. */
unsigned int skb_mapping = skb_get_queue_mapping(skb);
ieee80211_stop_queue(dev->wl->hw, skb_mapping);
- dev->wl->tx_queue_stopped[skb_mapping] = 1;
+ dev->wl->tx_queue_stopped[skb_mapping] = true;
ring->stopped = true;
if (b43_debug(dev, B43_DBG_DMAVERBOSE)) {
b43dbg(dev->wl, "Stopped TX ring %d\n", ring->index);
@@ -1566,7 +1566,7 @@ void b43_dma_handle_txstatus(struct b43_wldev *dev,
}
if (dev->wl->tx_queue_stopped[ring->queue_prio]) {
- dev->wl->tx_queue_stopped[ring->queue_prio] = 0;
+ dev->wl->tx_queue_stopped[ring->queue_prio] = false;
} else {
/* If the driver queue is running wake the corresponding
* mac80211 queue. */
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] b43: dma: Fix use true/false for bool type variable
2019-10-28 19:12 [PATCH] b43: Fix use true/false for bool type variable Saurav Girepunje
@ 2019-10-31 8:08 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2019-10-31 8:08 UTC (permalink / raw)
To: Saurav Girepunje
Cc: davem, tglx, saurav.girepunje, allison, swinslow, mcgrof,
linux-wireless, b43-dev, netdev, linux-kernel, saurav.girepunje
Saurav Girepunje <saurav.girepunje@gmail.com> wrote:
> use true/false for bool type variables assignment.
>
> Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Patch applied to wireless-drivers-next.git, thanks.
a9160bb35ad9 b43: dma: Fix use true/false for bool type variable
--
https://patchwork.kernel.org/patch/11216307/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-31 8:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-28 19:12 [PATCH] b43: Fix use true/false for bool type variable Saurav Girepunje
2019-10-31 8:08 ` [PATCH] b43: dma: " Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).