From: Kalle Valo <kvalo@codeaurora.org>
To: Ganapathi Bhat <gbhat@marvell.com>
Cc: <linux-wireless@vger.kernel.org>,
Brian Norris <briannorris@chromium.org>,
Cathy Luo <cluo@marvell.com>, Zhiyuan Yang <yangzy@marvell.com>,
James Cao <jcao@marvell.com>, Rakesh Parmar <rakeshp@marvell.com>,
Ganapathi Bhat <gbhat@marvell.com>
Subject: Re: [PATCH] mwifiex: use atomic bitops to represent adapter statusvariables
Date: Tue, 31 Jul 2018 07:13:25 +0000 (UTC) [thread overview]
Message-ID: <20180731071325.15665608C8@smtp.codeaurora.org> (raw)
In-Reply-To: <1531484795-5176-1-git-send-email-gbhat@marvell.com>
Ganapathi Bhat <gbhat@marvell.com> wrote:
> Driver is using boolean variables to maintain vairous status
> information of adapter. These status variables are accessed by
> multiple threads and there is a possibility of a race. To avoid
> this, convert these variables to a set of bitops flags, to be
> operated atomically.
>
> Below variables of mwifiex_adapter are converted to bitop flags:
> surprise_removed
> is_cmd_timedout
> is_suspended
> is_hs_configured
> hs_enabling
>
> Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Patch applied to wireless-drivers-next.git, thanks.
fc3a2fcaa1ba mwifiex: use atomic bitops to represent adapter status variables
--
https://patchwork.kernel.org/patch/10523167/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
prev parent reply other threads:[~2018-07-31 8:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-13 12:26 [PATCH] mwifiex: use atomic bitops to represent adapter status variables Ganapathi Bhat
2018-07-31 7:13 ` Kalle Valo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180731071325.15665608C8@smtp.codeaurora.org \
--to=kvalo@codeaurora.org \
--cc=briannorris@chromium.org \
--cc=cluo@marvell.com \
--cc=gbhat@marvell.com \
--cc=jcao@marvell.com \
--cc=linux-wireless@vger.kernel.org \
--cc=rakeshp@marvell.com \
--cc=yangzy@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.