Search Linux Wireless

re: iwlwifi: mvm: add a generic cipher scheme support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Max Stepanov,

The patch e36e5433c98d: "iwlwifi: mvm: add a generic cipher scheme
support" from Aug 27, 2013, leads to the following (soon to be pushed)
Smatch warning:
	drivers/net/wireless/iwlwifi/mvm/mac80211.c:265 iwl_mvm_mac_setup_register()
	warn: this array is probably non-NULL. 'mvm->fw->cs'

drivers/net/wireless/iwlwifi/mvm/mac80211.c
   264          /* currently FW API supports only one optional cipher scheme */
   265          if (mvm->fw->cs && mvm->fw->cs->cipher) {
                    ^^^^^^^^^^^
This is an array, not a pointer.

   266                  mvm->hw->n_cipher_schemes = 1;
   267                  mvm->hw->cipher_schemes = mvm->fw->cs;
   268          }

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux