summaryrefslogtreecommitdiff
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2017-10-03 20:49:44 +0530
committerKalle Valo <kvalo@codeaurora.org>2017-10-13 12:38:03 +0300
commitf0f7c2275fb925ea287e2da0585d17bde3d1fd2e (patch)
tree86bd489bbd71268091bca63a3e48dfd288181274 /fs/file_table.c
parent40351051d022762d95142a5a9e37220dbbce39f5 (diff)
mwifiex: minor cleanups w/ sta_list_spinlock in cfg80211.c
The sta_list_spinlock looks to be used to control locking of the list. Specifically when someone has the lock they may be allowed to modify or delete elements of the list. That implies that we shouldn't access the fields of the elements returned by mwifiex_get_sta_entry() after we've released the spinlock. Let's make some small changes so this is true. It's unlikely that this matters since it looks to be just error handling, but it's nice to be clean. Signed-off-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Ganapathi Bhat <gbhat@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions