Commit 81daab1f authored by Lee Jones's avatar Lee Jones Committed by Kalle Valo

iwlwifi: fw: acpi: Demote non-conformant function headers

Fixes the following W=1 kernel build warning(s):

 drivers/net/wireless/intel/iwlwifi/fw/acpi.c:123: warning: Function parameter or member 'dev' not described in 'iwl_acpi_get_dsm_object'
 drivers/net/wireless/intel/iwlwifi/fw/acpi.c:123: warning: Function parameter or member 'rev' not described in 'iwl_acpi_get_dsm_object'
 drivers/net/wireless/intel/iwlwifi/fw/acpi.c:123: warning: Function parameter or member 'func' not described in 'iwl_acpi_get_dsm_object'
 drivers/net/wireless/intel/iwlwifi/fw/acpi.c:123: warning: Function parameter or member 'args' not described in 'iwl_acpi_get_dsm_object'
 drivers/net/wireless/intel/iwlwifi/fw/acpi.c:142: warning: Function parameter or member 'dev' not described in 'iwl_acpi_get_dsm_u8'
 drivers/net/wireless/intel/iwlwifi/fw/acpi.c:142: warning: Function parameter or member 'rev' not described in 'iwl_acpi_get_dsm_u8'
 drivers/net/wireless/intel/iwlwifi/fw/acpi.c:142: warning: Function parameter or member 'func' not described in 'iwl_acpi_get_dsm_u8'

Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Cc: Luca Coelho <luciano.coelho@intel.com>
Cc: Intel Linux Wireless <linuxwifi@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201126133152.3211309-17-lee.jones@linaro.org
parent fe472e9d
...@@ -58,11 +58,11 @@ void *iwl_acpi_get_object(struct device *dev, acpi_string method) ...@@ -58,11 +58,11 @@ void *iwl_acpi_get_object(struct device *dev, acpi_string method)
} }
IWL_EXPORT_SYMBOL(iwl_acpi_get_object); IWL_EXPORT_SYMBOL(iwl_acpi_get_object);
/** /*
* Generic function for evaluating a method defined in the device specific * Generic function for evaluating a method defined in the device specific
* method (DSM) interface. The returned acpi object must be freed by calling * method (DSM) interface. The returned acpi object must be freed by calling
* function. * function.
*/ */
static void *iwl_acpi_get_dsm_object(struct device *dev, int rev, int func, static void *iwl_acpi_get_dsm_object(struct device *dev, int rev, int func,
union acpi_object *args) union acpi_object *args)
{ {
...@@ -79,7 +79,7 @@ static void *iwl_acpi_get_dsm_object(struct device *dev, int rev, int func, ...@@ -79,7 +79,7 @@ static void *iwl_acpi_get_dsm_object(struct device *dev, int rev, int func,
return obj; return obj;
} }
/** /*
* Evaluate a DSM with no arguments and a single u8 return value (inside a * Evaluate a DSM with no arguments and a single u8 return value (inside a
* buffer object), verify and return that value. * buffer object), verify and return that value.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment