From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753153AbcFBKxU (ORCPT ); Thu, 2 Jun 2016 06:53:20 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:34134 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751968AbcFBKxT (ORCPT ); Thu, 2 Jun 2016 06:53:19 -0400 From: Binoy Jayan To: Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Arnd Bergmann , Binoy Jayan Subject: [PATCH v2 0/4] *** rtl8192u: Replace semaphores with mutexes *** Date: Thu, 2 Jun 2016 16:22:58 +0530 Message-Id: <1464864782-424-1-git-send-email-binoy.jayan@linaro.org> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1464843475-4870-1-git-send-email-binoy.jayan@linaro.org> References: <1464843475-4870-1-git-send-email-binoy.jayan@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, These are a set of patches [v2] which removes semaphores from: drivers/staging/rtl8192u These are part of a bigger effort to eliminate all semaphores from the linux kernel. They build correctly (individually and as a whole). NB: I have not tested this as I do not have the following hardware: "RealTek RTL8192U Wireless LAN NIC driver" Review comments w.r.t. PATCH v1: Changed the following patch (PATCH 4/4) rtl8192u: Replace semaphore rf_sem with mutex with rtl8192u: Remove unused semaphore rf_sem since 'rf_sem' has no users, removing it instead of replacing it with a mutex. Thanks, Binoy Binoy Jayan (4): rtl8192u: r8192_priv: Replace semaphore wx_sem with mutex rtl8192u: ieee80211_device: Replace semaphore wx_sem with mutex rtl8192u: Replace semaphore scan_sem with mutex rtl8192u: Remove unused semaphore rf_sem drivers/staging/rtl8192u/ieee80211/ieee80211.h | 4 +- .../staging/rtl8192u/ieee80211/ieee80211_softmac.c | 54 +++++++-------- .../rtl8192u/ieee80211/ieee80211_softmac_wx.c | 34 ++++----- drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 6 +- drivers/staging/rtl8192u/r8192U.h | 3 +- drivers/staging/rtl8192u/r8192U_core.c | 33 +++++---- drivers/staging/rtl8192u/r8192U_wx.c | 80 +++++++++++----------- 7 files changed, 106 insertions(+), 108 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project