* [PATCH -mmotm resend] brcm80211: fix the misaligned indentation
@ 2013-03-29 12:33 Akinobu Mita
2013-03-29 13:14 ` Arend van Spriel
0 siblings, 1 reply; 2+ messages in thread
From: Akinobu Mita @ 2013-03-29 12:33 UTC (permalink / raw)
To: linux-kernel, akpm
Cc: Akinobu Mita, John W. Linville, David S. Miller, Brett Rudley,
Arend van Spriel, Franky (Zhenhui) Lin, Hante Meuleman,
linux-wireless, brcm80211-dev-list
This fixes the misaligned indentation introduced by
drivers-net-rename-random32-to-prandom_u32.patch in the -mm tree.
This also remove unneeded parentheses in order not to cause line over
80 characters.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Arend van Spriel <arend@broadcom.com>
Cc: "Franky (Zhenhui) Lin" <frankyl@broadcom.com>
Cc: Hante Meuleman <meuleman@broadcom.com>
Cc: linux-wireless@vger.kernel.org
Cc: brcm80211-dev-list@broadcom.com
---
drivers/net/wireless/brcm80211/brcmfmac/p2p.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/p2p.c b/drivers/net/wireless/brcm80211/brcmfmac/p2p.c
index bca31a8..5da1645 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/p2p.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/p2p.c
@@ -1118,7 +1118,7 @@ static void brcmf_p2p_afx_handler(struct work_struct *work)
if (afx_hdl->is_listen && afx_hdl->my_listen_chan)
/* 100ms ~ 300ms */
err = brcmf_p2p_discover_listen(p2p, afx_hdl->my_listen_chan,
- 100 * (1 + (prandom_u32() % 3)));
+ 100 * (1 + prandom_u32() % 3));
else
err = brcmf_p2p_act_frm_search(p2p, afx_hdl->peer_listen_chan);
--
1.8.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -mmotm resend] brcm80211: fix the misaligned indentation
2013-03-29 12:33 [PATCH -mmotm resend] brcm80211: fix the misaligned indentation Akinobu Mita
@ 2013-03-29 13:14 ` Arend van Spriel
0 siblings, 0 replies; 2+ messages in thread
From: Arend van Spriel @ 2013-03-29 13:14 UTC (permalink / raw)
To: Akinobu Mita
Cc: linux-kernel, akpm, John W. Linville, David S. Miller,
Brett Rudley, Franky (Zhenhui) Lin, Hante Meuleman,
linux-wireless, brcm80211-dev-list
On 03/29/2013 01:33 PM, Akinobu Mita wrote:
> This fixes the misaligned indentation introduced by
> drivers-net-rename-random32-to-prandom_u32.patch in the -mm tree.
>
> This also remove unneeded parentheses in order not to cause line over
> 80 characters.
>
Acked-by: Arend van Spriel <arend@broadcom.com>
> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
> Cc: "John W. Linville" <linville@tuxdriver.com>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Brett Rudley <brudley@broadcom.com>
> Cc: Arend van Spriel <arend@broadcom.com>
> Cc: "Franky (Zhenhui) Lin" <frankyl@broadcom.com>
> Cc: Hante Meuleman <meuleman@broadcom.com>
> Cc: linux-wireless@vger.kernel.org
> Cc: brcm80211-dev-list@broadcom.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-29 13:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-29 12:33 [PATCH -mmotm resend] brcm80211: fix the misaligned indentation Akinobu Mita
2013-03-29 13:14 ` Arend van Spriel
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).