Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1334493pxu; Thu, 8 Oct 2020 09:01:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3I1RFwF6M1xKGEDYDO7sjUao9Y6gFeC9+GE91DUbOR4oKlS5gO13EZgHXSYWAOC6ylgpU X-Received: by 2002:a50:da45:: with SMTP id a5mr10017864edk.152.1602172865369; Thu, 08 Oct 2020 09:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602172865; cv=none; d=google.com; s=arc-20160816; b=ja1FDByArGyLzK/xv36L8WRENXtCMQvccLhstKav1eui9W1rwKhCU2YI8sQqK2+5mC SmyP2KaDJc5BfH2VhLYiJ+qV/mHdakILQfCZ5R+4gL+jtHmKz0jg3eGKZ32MqRFH5edt 1RpZxWqXiZw/Q7x33T0CL5u0LhRkqGq6+k/8AF6LGD0gBxBcXgFn64ZEzXM7A8pQGp9A 7os4LUAxRnCnYpRucwLg1VTt+HcHhcmmP4A9FIfTCKWxOPdCh0SjD88PT7p5YuaSFoeG d3Nm7y9K6Z+XRXXH2LztTpus548KP4pj6s0z6YVcC0PDYjAn1m3MRqdrGmy4rkXz7E5d +jyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=ZvYaQVw6tdHVX47TfuI83g8RHr4L9yGtu355lu4vO1c=; b=TEwwExRpD6g6en4Btst5zpoF2GDkg1F2KT/piIqLxkfY/8xCmc3ZjsWrI2ST/+pcED a3qzwwJHOA2Ch0mZ+51bB/OMIgFiqKAYgw6Q1DVdUeSYInCQZ9MwBZ7Spgq0GRVCn8B7 LqBKcGz0c0bYu95RbPDXiroiSmAIeL2pB4rI5zjQ062G6wAHoutQWL0df+IecY89DLls Kh1v/YofsVi502PgO8z92YoFGiXtKoy8VjK87bHLkr+UR1GaQgr7XPvTdnE+e5xHvsI0 UDYmtDy8YAnN2uup803vdjUAHArUwkX//9eJh3hESXqo8027P0ruIzvDkXvfYdzQlQTJ gUlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="s2ewPt/U"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-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. [23.128.96.18]) by mx.google.com with ESMTP id p23si4906433edw.241.2020.10.08.09.00.39; Thu, 08 Oct 2020 09:01:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="s2ewPt/U"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-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 S1731926AbgJHP5l (ORCPT + 99 others); Thu, 8 Oct 2020 11:57:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730838AbgJHP4I (ORCPT ); Thu, 8 Oct 2020 11:56:08 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2771C0613D4; Thu, 8 Oct 2020 08:56:08 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id x13so1720840pfa.9; Thu, 08 Oct 2020 08:56:08 -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; bh=ZvYaQVw6tdHVX47TfuI83g8RHr4L9yGtu355lu4vO1c=; b=s2ewPt/UIRSsbbXGz0xkcB30BjP6voTYIqbNUu+9+RjYOd5+kjxtQXwuvGoJDREzHV 7hopy7CqWGzf37YK79GSVS+9latdLL2dtp7VKyknG+/6Cgxe68QjiePBrzU1SLrqx0J1 TNBYahzNMrH8N8eSWFfD153A+eywoRui1AQVvzaiEoDTen1sxquTdmBVoPdT4RTgFik7 kovz7F5LRV48VV2SNBghBM5u9ooa4GL4bh1IdM5DIRJXb0AQnvkN6hZyrTjiP3DTqIPQ 19DvfSPzD6tV6xVhbFeVNAZA6wXJkXN+AAodjUj+Lc9xXXbEeCLqGapuc1NPg12VZLRS gkjA== 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; bh=ZvYaQVw6tdHVX47TfuI83g8RHr4L9yGtu355lu4vO1c=; b=BiQp2IEJhHyc274Q+zbsUN8F1caX2DvppTy/s+T3mB7DAPx7bwy8YlTRjdAY3AghvW mXYdPLlxoMqyyA6j2n56LJtiKIeIi304yZ6o6013z0eqrqpDmd1TdyIGYa5m7mdKTDwd U1VckEuInSblVKSv36PEFl/HoDRSVAb6r6QkSiANN1b348IAYDx5B+nCOSMMjylABX/+ pnQ/Xlzy3X8B389+pIal+lTfGRT9DPQlm9Ub7r3nawoB4N25Nh7ygdulwBhwHpYSNh12 kJqOeVQvzb6AsIYiPozXW1qgtIB5eAFoz2LHZ9XbUJnjMUh66ZAU4QBZUN3ezIDnpANM K8vg== X-Gm-Message-State: AOAM533IgJA3TPHRKtLLVs//U0I1eRejrSLdqlbrFwJvAhQu2MyxU7rY tot1YKlbO1t7G4LCUEssTL0= X-Received: by 2002:a63:5663:: with SMTP id g35mr8173391pgm.163.1602172568359; Thu, 08 Oct 2020 08:56:08 -0700 (PDT) Received: from localhost.localdomain ([180.70.143.152]) by smtp.gmail.com with ESMTPSA id f1sm5917929pjh.20.2020.10.08.08.56.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Oct 2020 08:56:07 -0700 (PDT) From: Taehee Yoo To: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org Cc: ap420073@gmail.com, linux-wireless@vger.kernel.org, wil6210@qti.qualcomm.com, b43-dev@lists.infradead.org, linux-bluetooth@vger.kernel.org Subject: [PATCH net 073/117] wcn36xx: set fops_wcn36xx_bmps.owner to THIS_MODULE Date: Thu, 8 Oct 2020 15:51:25 +0000 Message-Id: <20201008155209.18025-73-ap420073@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201008155209.18025-1-ap420073@gmail.com> References: <20201008155209.18025-1-ap420073@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 8e84c2582169 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680 hardware") Signed-off-by: Taehee Yoo --- drivers/net/wireless/ath/wcn36xx/debug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/wcn36xx/debug.c b/drivers/net/wireless/ath/wcn36xx/debug.c index 389b5e7129a6..6bd874c0a9f5 100644 --- a/drivers/net/wireless/ath/wcn36xx/debug.c +++ b/drivers/net/wireless/ath/wcn36xx/debug.c @@ -93,6 +93,7 @@ static const struct file_operations fops_wcn36xx_bmps = { .open = simple_open, .read = read_file_bool_bmps, .write = write_file_bool_bmps, + .owner = THIS_MODULE, }; static ssize_t write_file_dump(struct file *file, -- 2.17.1