Thread (3 messages) 3 messages, 2 authors, 2013-03-04

Re: [PATCH -v3 16/23] drivers/net: rename random32() to prandom_u32()

From: Akinobu Mita <akinobu.mita@gmail.com>
Date: 2013-03-04 21:53:16
Also in: linux-hams, linux-wireless, lkml

2013/3/4 Arend van Spriel [off-list ref]
quoted
@@ -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 + (random32() % 3)));
+                                       100 * (1 + (prandom_u32() % 3)));

Seems like indentation is wrong now. Please retain the alignment.
OK, I'll fix it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help