From patchwork Fri Jan 9 19:15:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bob Copeland X-Patchwork-Id: 5602291 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 49FA19F357 for ; Fri, 9 Jan 2015 19:18:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6477F20634 for ; Fri, 9 Jan 2015 19:18:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8A17120630 for ; Fri, 9 Jan 2015 19:18:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758085AbbAITS0 (ORCPT ); Fri, 9 Jan 2015 14:18:26 -0500 Received: from mail-ob0-f182.google.com ([209.85.214.182]:50626 "EHLO mail-ob0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758010AbbAITSW (ORCPT ); Fri, 9 Jan 2015 14:18:22 -0500 Received: by mail-ob0-f182.google.com with SMTP id wo20so14561337obc.13 for ; Fri, 09 Jan 2015 11:18:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kEWn/RHfm78moMOf1byztt6KpUL7AvkQwKki5KdU/R0=; b=LEPyujvcxr2PpIkRjlbepJ2BtSQHN5wXCDE0LeSUk47LkSf02h0gvqdPT2OIli9c5q DOCBxXkne6wQDRGcTxcWukE7AMvQd7DcXhkAL8ZDQP/Drabxcn9n0+phQCT0PCBfa/PJ +D7FAEgYiV0Po0Geda6Hmb1zB944dyduB1FeZ4KEy5da6160RFcWD3ezftgwEpLVA6n4 BnEebwlSvCvUUgH+15Ad8sRn1TVxUTYg8CSDnb+HZzcVbvezBj1EllBT9vWkvgyMYclg QC/XvsF9dU/ZNFpYL4VF6DyroiVyvE95ECuO292Sn6DWCe24iSeei/6i9O6HDfDt/Aoh u35w== X-Gm-Message-State: ALoCoQkSbGbrmUoDshHYXLTIcnHh0ZbtsnX3Ut0V+7qBNxJDpfQb1CwjwIT/4xNyEWD5ynwPoemz X-Received: by 10.182.120.100 with SMTP id lb4mr10307195obb.50.1420831101850; Fri, 09 Jan 2015 11:18:21 -0800 (PST) Received: from hash ([2001:470:1d:6db:230:48ff:fe9d:9c89]) by mx.google.com with ESMTPSA id u15sm4817125obg.28.2015.01.09.11.18.18 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 09 Jan 2015 11:18:18 -0800 (PST) Received: from bob by hash with local (Exim 4.80) (envelope-from ) id 1Y9f3V-0002X8-3F; Fri, 09 Jan 2015 14:17:09 -0500 From: Bob Copeland To: linux-wireless@vger.kernel.org Cc: Eugene Krasnikov , Bob Copeland Subject: [PATCH 5/8] wcn36xx: initialize skb_lock Date: Fri, 9 Jan 2015 14:15:49 -0500 Message-Id: <1420830952-9624-6-git-send-email-me@bobcopeland.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1420830952-9624-1-git-send-email-me@bobcopeland.com> References: <1420830952-9624-1-git-send-email-me@bobcopeland.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP ctl->skb_lock is never initialized, a fact caught by lockdep. Signed-off-by: Bob Copeland --- drivers/net/wireless/ath/wcn36xx/dxe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/wcn36xx/dxe.c b/drivers/net/wireless/ath/wcn36xx/dxe.c index 3d6bc9b..086549b 100644 --- a/drivers/net/wireless/ath/wcn36xx/dxe.c +++ b/drivers/net/wireless/ath/wcn36xx/dxe.c @@ -84,6 +84,7 @@ static int wcn36xx_dxe_allocate_ctl_block(struct wcn36xx_dxe_ch *ch) if (!cur_ctl) goto out_fail; + spin_lock_init(&cur_ctl->skb_lock); cur_ctl->ctl_blk_order = i; if (i == 0) { ch->head_blk_ctl = cur_ctl;