Received: by 10.213.65.68 with SMTP id h4csp239490imn; Tue, 13 Mar 2018 02:45:32 -0700 (PDT) X-Google-Smtp-Source: AG47ELsqM6cirKqRPAweJb5CexLZT+d2kEzh1K7m5riSC5eL/9INIxIEMsIaDxIfzfFgtQLQH8JB X-Received: by 2002:a17:902:9897:: with SMTP id s23-v6mr11182836plp.105.1520934332513; Tue, 13 Mar 2018 02:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520934332; cv=none; d=google.com; s=arc-20160816; b=aF662XqSmq9IiHsyLH5qcg/3RZ4txaMP+zgwvLdNLcnlgh5qS8L/K3H8MJuRuOMqGN 5kdudt1GPx49sq0+yeFhqJ9LeKamWjursoqoawqfESvOD9gSevyBXeawX+OtjTP1sVOw 3RwRGZVGgU3qWL/PIwzed77O8N1MMaZAPh3qIiCuruWs8WMAVzx4QO5pS4lsxdaMZC6F Jxq7PTu9m5DoNKATeYP72ctMbI9U5MUcJEk6+3YMKV/0S/jfHrON0MAqiexDtJvPSN2T mpDwYtMadiAKPb7vbAWOpGGZY+DqNrQ1IBslyl6tbDGaFCuaZ9xrbxfuweAZadgXkwqi rqbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=1WUT98SDXSwm0/mxVodkyTS3hb5WSoHOH6/tOaEpCHs=; b=fs+gltftCjf8wdyPbxr4c9gxAWVSg4sBgbnefKqZ9EAJg/EoFmW1jrI4NYy+/EEO3h XmpMpnOxT75u35b3YpVBt6ayzVX678qAZS6Wspnr1L7kXt2zOJPmIrAqBNzGyKq42GGZ C0l/cn4n9qnrSAEapDZ+wAqJf+2w4WLo32BmyYa/MDHxW6YyJGqYabXhZoY11PKNTmvZ +6PFvw6r2xRDHB+ZZtotiCB6YR0LZ8BCdesDcVdqvEoyMrCfmPqNNFqyQYZ7vUWFnPDe /2wPWKjyBHG4XanUSUVIWs7ZEWZQmGXSopctrjCYcdafBMBENbUxjx39yIqneg+bECVv LWSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HyAJZmw+; 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 l69si7327210pfk.180.2018.03.13.02.45.18; Tue, 13 Mar 2018 02:45:32 -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=HyAJZmw+; 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 S1752546AbeCMJnE (ORCPT + 99 others); Tue, 13 Mar 2018 05:43:04 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:46950 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752479AbeCMJnA (ORCPT ); Tue, 13 Mar 2018 05:43:00 -0400 Received: by mail-io0-f196.google.com with SMTP id p78so14926652iod.13; Tue, 13 Mar 2018 02:42:59 -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; bh=1WUT98SDXSwm0/mxVodkyTS3hb5WSoHOH6/tOaEpCHs=; b=HyAJZmw+u/uqpBcQ28IzdMKjrzsfPTSGAKSsRnN7gl4ZKKF9I/wsntxDNdNQAXvuK2 it1jppOmeb8eosmoFNpu0s8PV0uc2lGZ7pTTcXvhfaIS2KQ2micG3AClbN1jP6ixAsf9 qw/FCyfOi3cYGP3JW31bOQfYQImtYyqN47Pu+yaIPhemRNKtEw8yku57289IeWkA8IBC jWMSinHTGWuosdUgBu7BmLHDYK+p7rq1Rvn857PqAoRhVlFFURGLTwBPAOzkUJ2Tgwvc 60KGs1QrJ7jLF0Wr8Dfd7onVDDGI/mziy/n79eVvhVQOPbYjHjUqROKhgPyzwb7WbExn Qn6g== 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; bh=1WUT98SDXSwm0/mxVodkyTS3hb5WSoHOH6/tOaEpCHs=; b=M/JjfkRfYFPNIwieEazjY67Geh1imsPT1hSOtnwuqyxTVEP7SUiSM1YRKpxDYNQ64f 8smrR/aJVstxvZ19gzzjVCjBT8EIeb33eEkANDTilX/r9/hlYCJ9B4vO9JrML7WqZus0 j6Scmsms1nEIteJTx3mVaVmgX5wngMTyZrS/7aVq05ajPOSzjRds6gzd/aO6BND1QBUY YBWfU6tmQdgGgt6IbxZQq05AjxTpa9m0eNLNOd28Hixa7YxoI6QdQ6MpaWtYLG6B/1E2 WJIlvu4ACYAjm4nIJ1zVJuevMl8hyH/4W2a4PP0uukZJDH1jdJkWDJlFUWjuGvo4HtrM ziHw== X-Gm-Message-State: AElRT7FoNL9dlaSzcxmor0cnOBXtbuK1daT/dEVQ2i7h7brcPUOukPGX JgjNGnqwYQ0uJMdmAkQQw7c= X-Received: by 10.107.138.228 with SMTP id c97mr6380085ioj.197.1520934179334; Tue, 13 Mar 2018 02:42:59 -0700 (PDT) Received: from localhost.localdomain ([2405:204:714b:73d3:f099:e200:ca11:baf8]) by smtp.gmail.com with ESMTPSA id i31sm6553354iod.78.2018.03.13.02.42.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Mar 2018 02:42:58 -0700 (PDT) From: hariprasath.elango@gmail.com To: aditya.shankar@microchip.com, ganesh.krishna@microchip.com Cc: hariprasath.elango@gmail.com, vbabu3@visteon.com, Greg Kroah-Hartman , linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: wilc1000: destroy initialized mutex object Date: Tue, 13 Mar 2018 15:12:10 +0530 Message-Id: <20180313094210.10305-1-hariprasath.elango@gmail.com> X-Mailer: git-send-email 2.10.0.GIT 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