From patchwork Thu Nov 26 13:31:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 332959 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp148201ejs; Thu, 26 Nov 2020 05:33:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwbO/Id7SMwTXcpHAhFZTyXm3gro7pepdBZBrkWb4qOO+c5n20mLiI4OfFE4wZQE8+UjXv X-Received: by 2002:aa7:db53:: with SMTP id n19mr2539462edt.73.1606397622268; Thu, 26 Nov 2020 05:33:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606397622; cv=none; d=google.com; s=arc-20160816; b=JPpW0GJ2xgZHOFl5BU50NZxNTflWfKR+eDkIhKoZibMcOUU9hxkRRa3qKejUqlRl4T 1gWaLdPeITDseZ9QRzW9T4fHrHXrROdbkHDusxyL/IKzcOiWjKZ4i9VyQg1naORp4gGX ru/fh/hiZqyDJpOU6+4aIkrxgmjFZqpHfe68WGQ5LSnOffk5SraKou5PwToMdqeKMX1f r3HG9XHH81Gsr2UvZNZVBCEQ3VEqZHKFqfLnMxV1KOTKbae5+Hdf8DHbQqJM/OfPjouj jcUZ/M5fSW6wpGeTNL1+Sa11I8KM8tqqkzZwsWB3cUaW7x6zXnkuopd5tVJGzvrx7tVL eWhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LgKtNmQfGnZeeFNwZJm+JSbHcTG8sEx1i9uktjmVfHw=; b=tefHziWjbPFHdgPhNcrugfTJymZMJ6cgtDRPwdrHiiLBkYPr0Lp2GUASPLBzKV6fAe 6A5RjsMStA7XVUoADmxv1114lhs2Gr4n/ic/eFI2S8VgoYUlAHGaklZ0DdoL/nrZ4/ic kzMRS2DjBc5fVBwObaFMzECphdNZOBK1aGnXNd27nQmmSb1lOMS0l8KfV65vj39AMMbt HecF20//RdrL0HW7JN6WDdEszP9C22XOsClhz0ByFbGMj8IWsmsO55nxr4hKU1KaW2Kh L/DfsjV6FmwiSg9828DGjhfZKXnZyi0KxFBdsEjXQtvTAQA4KqQSWPJhgb0tfkyIrvjZ D9GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=diSVxSAo; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q15si3191310edr.58.2020.11.26.05.33.42; Thu, 26 Nov 2020 05:33:42 -0800 (PST) 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=@linaro.org header.s=google header.b=diSVxSAo; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390263AbgKZNcK (ORCPT + 2 others); Thu, 26 Nov 2020 08:32:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390188AbgKZNcH (ORCPT ); Thu, 26 Nov 2020 08:32:07 -0500 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96C1AC061A47 for ; Thu, 26 Nov 2020 05:32:07 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id i2so2158470wrs.4 for ; Thu, 26 Nov 2020 05:32:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LgKtNmQfGnZeeFNwZJm+JSbHcTG8sEx1i9uktjmVfHw=; b=diSVxSAoA40tZEtS/HzleEtjZHtOlucT3xtLPjQTgjZqyNCONejvfwzDQ9rykhgSo/ EC3mKBZiW8Y5/3yHi2UXTIJGHUlJZWmhmGKEzoFG4WE77PAi2Gt1qssdtssc+4ye7qOY pOOJu38hmlttKJ/wu6A29AeM/dSRlCKiFap/M1FUM0A49ppUqc4MS/6/YZ7Ilmaon+3l ZykubvRyrnyBUVtXVW4XC2vYrPauBp/aPbGRvXo3xT80JNaEwaIuofRvLbFtOJdsF2Gb 6oJI+aIb0M4cuqnQcp21K4cd3cKvyCpJ8sim4c2daOi3LjPnapOS7eUQuEB9kOLB6Phn y6zA== 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=LgKtNmQfGnZeeFNwZJm+JSbHcTG8sEx1i9uktjmVfHw=; b=PICmrmkQnebw5KX4eMeSNiUgIdHjNbDUIwsCyMqRJA9c92DRZvw4a9BHcqTMWcrvDa JCF3f0MvdasGLFIr54d8dLsUmXpjeks2+jaNQPsBuJH+2vmnuJX8egwWmenYvYIJD3g5 6iY6FFGDBNcCsTtq+sE+ubGOF/GCt8kb1ZzgeoJ0k0COCKFf+VFj+0rssJaoCsbFfhlz 4iiSm1UwOd630/WD+zoxVIwiaUiu7/1FOYspO8VDp4hoBZnL/TU51urw8lSB65OjtCfQ turkF+MWu0gttNTpZFg7etK1iEM/aPkswjgpwpKXZkppk1FOaaJ0w+DVFHqqH63CJ1vG ilOw== X-Gm-Message-State: AOAM531KzMMUkTNRksxZbiyUUPQpzjnK+FZQcBDZk+tEg9xzAgD63v5x hcURrfK9EVC+brVKizKUoDYvIw== X-Received: by 2002:adf:e4d1:: with SMTP id v17mr3803758wrm.325.1606397526033; Thu, 26 Nov 2020 05:32:06 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id n10sm8701001wrv.77.2020.11.26.05.32.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:32:05 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org, kvalo@codeaurora.org Cc: linux-kernel@vger.kernel.org, Johannes Berg , Emmanuel Grumbach , Luca Coelho , Intel Linux Wireless , "David S. Miller" , Jakub Kicinski , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 08/17] iwlwifi: iwl-eeprom-parse: Fix 'struct iwl_eeprom_enhanced_txpwr's header Date: Thu, 26 Nov 2020 13:31:43 +0000 Message-Id: <20201126133152.3211309-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201126133152.3211309-1-lee.jones@linaro.org> References: <20201126133152.3211309-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c:340: warning: cannot understand function prototype: 'struct iwl_eeprom_enhanced_txpwr ' Cc: Johannes Berg Cc: Emmanuel Grumbach Cc: Luca Coelho Cc: Intel Linux Wireless Cc: Kalle Valo Cc: "David S. Miller" Cc: Jakub Kicinski Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones --- .../net/wireless/intel/iwlwifi/iwl-eeprom-parse.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.25.1 diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c b/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c index cf7e2a9232e52..f29d5758c8dff 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c +++ b/drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c @@ -324,15 +324,15 @@ enum iwl_eeprom_enhanced_txpwr_flags { }; /** - * iwl_eeprom_enhanced_txpwr structure + * struct iwl_eeprom_enhanced_txpwr * @flags: entry flags * @channel: channel number - * @chain_a_max_pwr: chain a max power in 1/2 dBm - * @chain_b_max_pwr: chain b max power in 1/2 dBm - * @chain_c_max_pwr: chain c max power in 1/2 dBm + * @chain_a_max: chain a max power in 1/2 dBm + * @chain_b_max: chain b max power in 1/2 dBm + * @chain_c_max: chain c max power in 1/2 dBm * @delta_20_in_40: 20-in-40 deltas (hi/lo) - * @mimo2_max_pwr: mimo2 max power in 1/2 dBm - * @mimo3_max_pwr: mimo3 max power in 1/2 dBm + * @mimo2_max: mimo2 max power in 1/2 dBm + * @mimo3_max: mimo3 max power in 1/2 dBm * * This structure presents the enhanced regulatory tx power limit layout * in an EEPROM image.