On Mon, 2012-06-18 at 19:23 +0000, Grumbach, Emmanuel wrote: > > 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 Thanks both, I'll fix this up. No idea how I missed that warning. Ben. -- Ben Hutchings If more than one person is responsible for a bug, no one is at fault.