Received: by 10.213.65.68 with SMTP id h4csp965004imn; Wed, 14 Mar 2018 05:48:05 -0700 (PDT) X-Google-Smtp-Source: AG47ELspFJtT/sPhaBTSNcQJ8yEzIApSZBL5UOi+GCZSHw5PF25qpH7vyx31xANZ2cHiNSVmTS3l X-Received: by 10.98.181.18 with SMTP id y18mr2426218pfe.115.1521031685852; Wed, 14 Mar 2018 05:48:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521031685; cv=none; d=google.com; s=arc-20160816; b=z+v9ysmksFKsplHu/G0K0PNH+0n6lrzhsw/L/mJ+DmCT2BwyF3LvUIQt96K6BVbaTc xH8I65Zfm2yKk2QtNZaLPiHYejMKwz08J603r9ZnUCDP/U1f7GVhJw0s2PsiStMw9Kvo 5+vdnJwPpdcu5lJl84s5Ci+GG8ry9c+XnHkytfFQdsmsuSFtYBxzmCnLIyv0qdIGBUl+ zLJWaDVw2FTcI48UWaIWp8/PxRSIxdqJ+5C03NHT1kVPDGNN2aMrU7FVowqK5scyuc5N aybiZahlTBVl4T3NA/SQEI11sZ+aWtWy2gzIVwq4rktSoRXC1NYzVnytqWiSdSl/5aj+ KMXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=1WUT98SDXSwm0/mxVodkyTS3hb5WSoHOH6/tOaEpCHs=; b=Tes3yhyDJp9qAr5LfagwMklW318qAAzUotJkomR6EPHxIgnkVbnkxTdl10YamObR42 CU/ZZt2oGvnz2z08JWVOhRQV5C969lTPbdDyVddY5ff3OC9/2Cc53WCMFOASsm/7pG7J 6XjtWAFL55gGvb1wUBC1fdcLfSvg5Ods2GNzMI8T+H+ksf8fGmCEq6e0ZJlyGd4IUYGt bBn3U0PFZeO2ac9kxoHZw85tMZAGSe/K1YaaC3G8+/mYVS5P7ocOBQ9TjR3Tnlhb0Q9Y z/UYYvMVyY4U/QKun7zkfkISPD+1V09eHHPIpaXad2n2HeW8Qq/vX2zx6YjH3RQ9mZTH UwVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=StztDwi+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d92-v6si1923431pld.383.2018.03.14.05.47.51; Wed, 14 Mar 2018 05:48:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=StztDwi+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752164AbeCNMpm (ORCPT + 99 others); Wed, 14 Mar 2018 08:45:42 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:46169 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751470AbeCNMpj (ORCPT ); Wed, 14 Mar 2018 08:45:39 -0400 Received: by mail-pl0-f67.google.com with SMTP id f5-v6so1606329plj.13; Wed, 14 Mar 2018 05:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=1WUT98SDXSwm0/mxVodkyTS3hb5WSoHOH6/tOaEpCHs=; b=StztDwi+fkeqohxN6tRxK3F1TpBhfArZ0uFDsUb5pGHdd7HfS4/Q7E05qra6pahYHg wioHUSwvqq4TKSJwd/djdDBSXjEHMuHtmuEADqJPKPR8MAGeTNQ9qnVHK7c5wFU6IQjB V+uOwm1zlJITPSVkNZv9+bpXoydaTOWhvnFlG9hFDQczZjDeRO46AgTDy0dD2kVGAG0o h/O3UzY8g1XZ5krGCLfKAOP4RabW3t23BQQ4CY3QlSp29srC4I8wmvnzK9qFDHHvXZ17 QolXaOMk8Zqb7A0FExyEPymn9vpjJ3mzG+yE095pP82sqXtC1Vz1XYHL7EZRHhKElZyN uX5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=1WUT98SDXSwm0/mxVodkyTS3hb5WSoHOH6/tOaEpCHs=; b=F94JywopYQL5oO/WCHhotRaQdpXLNg2ugfOO1rJRAU3vqXoTqx7Nma0R2Bv9J4tkB6 Vkwmee8VaRPk/JzOZqmEYX1BXYzINunMafk7aiPjWh4Sk7vp2L6VYmNBvZxNRpbU/GkR M+XG3KnCqcvMNzDqMxn+k8AkJeXP8HhB7ohKE2Ex5TN4GA1xcQY6S7/sXV/rRcEHEqQt cdissdiTPqWAySvGlOebN3k5Di9yKwEFw+eobvY0aNhqdyaJauO6m7LaRyDAI1WrROZ6 CoNSvNp0vDD40IBLK5BRcxJPf3e6rXa8uieD9/P6hjZiecIYpC+ZGaPIuECkjsPa6Un3 dTLw== X-Gm-Message-State: AElRT7Eqi9CX2bY2YqZW58unTjhVDtu4nzAsjtpeXrrZIovc6bFe49QU FilCeMPxJTsEo/xzHkBQKEo= X-Received: by 2002:a17:902:2862:: with SMTP id e89-v6mr3977723plb.348.1521031539305; Wed, 14 Mar 2018 05:45:39 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7142:9212:3d49:8166:4647:f07f]) by smtp.gmail.com with ESMTPSA id y14sm3999982pff.81.2018.03.14.05.45.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Mar 2018 05:45:38 -0700 (PDT) From: hariprasath.elango@gmail.com To: aditya.shankar@microchip.com, gregkh@linuxfoundation.org, ganesh.krishna@microchip.com Cc: hariprasath.elango@gmail.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/7] staging: wilc1000: destroy initialized mutex object Date: Wed, 14 Mar 2018 18:15:02 +0530 Message-Id: X-Mailer: git-send-email 2.10.0.GIT In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: HariPrasath Elango A mutex object that is initialized but not destroyed.This patch destroys the mutex object Signed-off-by: HariPrasath Elango --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 205304c..c901108 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -2303,6 +2303,7 @@ int wilc_deinit_host_int(struct net_device *net) op_ifcs--; + mutex_destroy(&priv->scan_req_lock); ret = wilc_deinit(vif); clear_shadow_scan(); -- 2.10.0.GIT