RE: [ 39/69] iwlwifi: disable the buggy chain extension feature inHW

From: Grumbach, Emmanuel
Date: Mon Jun 18 2012 - 15:23:05 EST


> Hi, this triggers the following build warning:
> linux-stable/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c: In function
> 'iwl_trans_pcie_tx_start':
> linux-stable/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c:874:2: warning:
> passing argument 1 of 'iwl_write_prph' from incompatible pointer type
> [enabled by default]
> linux-stable/drivers/net/wireless/iwlwifi/iwl-io.h:72:6: note: expected 'struct
> iwl_bus *' but argument is of type 'struct iwl_trans *'
>
> For 3.2, it should be passed as bus(trans) as other invocations.
>
> > /* Enable DMA channel */
> > for (chan = 0; chan < FH_TCSR_CHNL_NUM ; chan++)
> > iwl_write_direct32(bus(trans),
> FH_TCSR_CHNL_TX_CONFIG_REG(chan),

Correct


---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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