Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2663001pxa; Mon, 17 Aug 2020 15:54:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBJY1rssxopf5z98lFp0X7m24ZkpHfKnhAiZVHMmYfaKrVtH5MkyCDB2vuX5smCm23tUwM X-Received: by 2002:a05:6402:1a46:: with SMTP id bf6mr16823130edb.284.1597704881482; Mon, 17 Aug 2020 15:54:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597704881; cv=none; d=google.com; s=arc-20160816; b=JnSOmlODVQS1CMScothjVMgPhTjy+98ba5zvNexncY3ozjpOmYLUCkCSrDM9dqm43O 71khE1WjeaXqs/07Htgdiqr6pMSAfDDZQhL4PVVEb0YW3y5cf3ko2O6wLSQTtihlHoD1 8CxC+DgpV5TDpI3g/C4vMqFIsY9YkGwO8T5ALVbjzhr5eU2+VGJtxNqa5pdhL/K3i0nq qLw5ncWILp6STqGa+A0h1JAEYE8WNGgwGeAjmF/4Ssao0nfwgwA9X+gaBVbS9bcX7011 utmVLeikHlYzpMMfg/8ususpkRpTmJfTuMH5/v0JBJTxJHupgXTqbAig8Z4jGELHZNuS yYzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=5T7pJuAjd7t39V6LFhsPKg1ScjNRp4+mipUWGzgiw7k=; b=qipNdbWcqtUODSdtUyY20xdGQ3WbwOsTc6hA2jBoS8wnWWhlBIweg5I3nyIJCEoikv rukCIq0APPHgwQWtrr8Lee7ispVu5pAev4p/w0uEfGf5DBpCxLW5OJQSIez4h7xIBQwJ DRrykBfJHod9zWyBNMCbdWTtptm8CbA346l6OHs6UnU0tLFlVEjdjVq4ASZXMwbdLJIa 69ypXyFWcFs7phmBBlJqtoNfvI0oejJ628JMQB7pIPhi44CGpZYZadZ/iy2F3n6gkxns ekI2Fndl/jZKp0wupoZ8n8XQaQL3trPDSWCclVFha3znKxnC4KEQdkZbzF7MxTqhQBDR 4gDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ab554IHO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j7si11483697edy.176.2020.08.17.15.54.18; Mon, 17 Aug 2020 15:54:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=default header.b=Ab554IHO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730281AbgHQTdS (ORCPT + 99 others); Mon, 17 Aug 2020 15:33:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:53790 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730246AbgHQPa5 (ORCPT ); Mon, 17 Aug 2020 11:30:57 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7AFF023440; Mon, 17 Aug 2020 15:30:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597678257; bh=WtHJlHpN1IoAghHnJrD6JHQcmHdwzjW8VjXo4bId0K4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ab554IHOpmgjA5BR8eExpNISn4gqdmsA8P+NmRnZnz4MRMfjzuG0P5N6BBkq967gQ oDz/4Gu4AXl8OC62mqpoAikEhLPrO+n3b4/oimwglUB1eH66GQliNMTTvDjo9ed8YR fNAaW0q4otWcNzCbPTO5EnOmOhszLftOCCeQaVQo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Ryder Lee , Felix Fietkau , Sasha Levin Subject: [PATCH 5.8 271/464] mt76: mt7915: add missing CONFIG_MAC80211_DEBUGFS Date: Mon, 17 Aug 2020 17:13:44 +0200 Message-Id: <20200817143846.763111625@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143833.737102804@linuxfoundation.org> References: <20200817143833.737102804@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ryder Lee [ Upstream commit a6e29d8ecd3d4eea8748d81d7b577083b4a7c441 ] Add CONFIG_MAC80211_DEBUGFS to fix a reported warning. Fixes: ec9742a8f38e ("mt76: mt7915: add .sta_add_debugfs support") Reported-by: kernel test robot Signed-off-by: Ryder Lee Signed-off-by: Felix Fietkau Signed-off-by: Sasha Levin --- drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c b/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c index 5278bee812f1c..7e48f56b5b08e 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c +++ b/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c @@ -384,6 +384,7 @@ int mt7915_init_debugfs(struct mt7915_dev *dev) return 0; } +#ifdef CONFIG_MAC80211_DEBUGFS /** per-station debugfs **/ /* usage: */ @@ -461,3 +462,4 @@ void mt7915_sta_add_debugfs(struct ieee80211_hw *hw, struct ieee80211_vif *vif, debugfs_create_file("fixed_rate", 0600, dir, sta, &fops_fixed_rate); debugfs_create_file("stats", 0400, dir, sta, &fops_sta_stats); } +#endif -- 2.25.1