Re: [PATCH] wifi: plfxlc: Fix possible data races in rx_urb_complete()
From: Dmitry Antipov
Date: Wed Jun 28 2023 - 04:12:12 EST
On 6/28/23 05:21, Tuo Li wrote:
if (tx->submitted_urbs++ < PURELIFI_URB_RETRY_MAX) {
dev_dbg(plfxlc_urb_dev(urb), "urb %p resubmit %d", urb,
tx->submitted_urbs++);
BTW, doing 'tx->submitted_urbs++' inside a debugging statement is most likely
a bad idea.
Dmitry