Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1469219pxa; Fri, 28 Aug 2020 13:30:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1HhH2RFUs73l/d3H28bhv6znuBpnFdv1PO3fmusQmjvQHx7TcgjjlmOCw5WtnM/qxSpBg X-Received: by 2002:a17:906:3ac4:: with SMTP id z4mr447991ejd.65.1598646608480; Fri, 28 Aug 2020 13:30:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598646608; cv=none; d=google.com; s=arc-20160816; b=boeYffeZRJ/OC6zSw4Sp9QGg+K7H3JktRA+s4V3hxAmSuA1yntMwK9VRKrjOMjO/u+ 0tH096dnGZuN0L1/NqboSpzi68L1GjtmVqQFuwTq2VAUrvtwPP/JQyY3KuDjbNw7ab7v WMnSNGtf8FFmLvGn69SFGNBQpAJ5nP9+TdipBQLxRw21R8VqviVko1nQT9E9VWJ6QB83 gRN8qwBGZwcDti+OtvMhys7Rxd7WKdOvUbWo6QjHu1ReoFTxAc7xTFVuMNaO8sB5SLtN QP+MfBKfc5m6gfSWlVCSgT1MWGMyo70PNRyQhFFKrVTaI/TexAahTGBR31hocXPgJpbx viaQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=61/0HpbFm2wHtSAuVzJ/JzzCVPKNOSaE1LfRMb2GYp4=; b=h17B1RrHbzdvKhmo9uqsgjEaXStxRKQ1yBz8eAbSMLPmO+XCkINhJem83W/THl3wD2 g+ZQpYTOCcUEvd+fXioyzRTy0Yz6z3PxKAHzjvh0wQVpsUWq3wi0bB0SbO5Wn/wiG9Pe BH5YZS/6dhJV2maUGwzkFyHe66x9oS0U2QGJNONziBaGg7e3WsKcLkORo1AzUeJbHIqM QA+K09nGodFAA8jKPj+F3cz66m+Fdv/tNaiKXyJlzyJnVJGbCY4mWhn61RLNpuKqjW7X FP2X1xb7BIAhdIobaGA7sc8T6rLaSryc/jz8W0/o5Bmj0FZvvTcV8ACwBMaQciMFSPiI PiwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LBhkUzXi; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 p6si138410edh.431.2020.08.28.13.29.27; Fri, 28 Aug 2020 13:30:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=LBhkUzXi; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 S1726859AbgH1U2s (ORCPT + 99 others); Fri, 28 Aug 2020 16:28:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726033AbgH1U2q (ORCPT ); Fri, 28 Aug 2020 16:28:46 -0400 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 601BDC061264; Fri, 28 Aug 2020 13:28:46 -0700 (PDT) Received: by mail-ed1-x542.google.com with SMTP id i17so207442edx.12; Fri, 28 Aug 2020 13:28:46 -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 :mime-version:content-transfer-encoding; bh=61/0HpbFm2wHtSAuVzJ/JzzCVPKNOSaE1LfRMb2GYp4=; b=LBhkUzXilK2L/xRRhj5WmjgRTN3W2PHOPk+s6lQSpKtMocha/PAIHXHR6/abwDPbZS nvkR1xj8NSZKu4di3TDClKv3SvBjxbIWQ6WwNSreFL7q9sRENFiqMikjktH9SbwAYvJz Daq6VElU8dHnrAbZiNGSWAQAuIWnHHuk/YFUgbCPlMz4MPOBK1FymcxPUzSPehaIqMDx fVxFPI/apnkQ5YL4XYLdWgDt05u8RIl23xARrbVT2DP4XiHhxF+4C6eMBwIC/Qx57aZg p3UE9WSqkSwXGse265OJuy7DpeVkZTqGlQOPKdD90zm8YuVa59nizEBtIdhAK3BdpEyP Ujzg== 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:mime-version:content-transfer-encoding; bh=61/0HpbFm2wHtSAuVzJ/JzzCVPKNOSaE1LfRMb2GYp4=; b=ayRq0EtrQvvHE2OwOf2yaNKaLWLIeGvR4Cs7GXxMw4efoKyvFTYopHwIeyQfa+Hwun xOEt5oZt4As4idSQARRBYidxp+UAa8H+stggxLI7+NAOiRRU7j/ZI0NOchTltypp/BAL IW9AXHQn641aSTiKlD2pr1GXRYhBfVYT6J79vPNViKRgUNawUziAu17pzRvZFZEUT4p3 BoH34YgWLYBH+HKRQMk5mexwRNQgK9nmKzjd5G+q1USZFm0jnlaWq3enlx0QlaXCFeMN nwnFz8jNiXGfF4G3kkLSAkaAmmTcaZAhlk/k3q0LWXt8qcWf77COigjyHrt46JaDvNKS 0z5g== X-Gm-Message-State: AOAM532VqpZOsAGY5FkkKwIasfsT2UlC6q90nPhmwhHctKkHJ0NfmP9l 5PU1D/ICGRbPFjezYwFhcNdr0S2cQvM= X-Received: by 2002:aa7:ca19:: with SMTP id y25mr479745eds.211.1598646525048; Fri, 28 Aug 2020 13:28:45 -0700 (PDT) Received: from debian64.daheim (p5b0d7429.dip0.t-ipconnect.de. [91.13.116.41]) by smtp.gmail.com with ESMTPSA id r26sm228648edp.62.2020.08.28.13.28.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 13:28:44 -0700 (PDT) Received: from localhost.daheim ([127.0.0.1] helo=debian64.localnet) by debian64.daheim with esmtp (Exim 4.94) (envelope-from ) id 1kBkz2-000gBn-69; Fri, 28 Aug 2020 22:28:24 +0200 From: Christian Lamparter To: davem@davemloft.net, kuba@kernel.org, Lee Jones , Kalle Valo Cc: linux-kernel@vger.kernel.org, Johannes Berg , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v2 08/30] net: wireless: ath: carl9170: Convert 'ar9170_qmap' to inline function Date: Fri, 28 Aug 2020 22:28:20 +0200 Message-ID: <5498132.V4cn31ggaO@debian64> In-Reply-To: <20200827093351.GA1627017@dell> References: <20200814113933.1903438-1-lee.jones@linaro.org> <20200814113933.1903438-9-lee.jones@linaro.org> <20200827093351.GA1627017@dell> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thursday, 27 August 2020 11:33:51 CEST Lee Jones wrote: > 'ar9170_qmap' is used in some source files which include carl9170.h, > but not all of them. A 'defined but not used' warning is thrown when > compiling the ones which do not use it. >=20 > Fixes the following W=3D1 kernel build warning(s) >=20 > from drivers/net/wireless/ath/carl9170/carl9170.h:57, > In file included from drivers/net/wireless/ath/carl9170/carl9170.h:57, > drivers/net/wireless/ath/carl9170/carl9170.h:71:17: warning: =E2=80=98ar= 9170_qmap=E2=80=99 defined but not used [-Wunused-const-variable=3D] >=20 > NB: Snipped - lots of these repeat >=20 > Cc: Christian Lamparter > Cc: Kalle Valo > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: Johannes Berg > Cc: linux-wireless@vger.kernel.org > Cc: netdev@vger.kernel.org > Suggested-by: Rasmus Villemoes > Signed-off-by: Lee Jones > --- =46or what it's worth: Acked-by: Christian Lamparter