mirror of
https://github.com/open-sdr/openwifi.git
synced 2025-01-31 00:24:09 +00:00
remove all the compiling warnings when build 32bit driver
This commit is contained in:
parent
e1c2ba0915
commit
95d3c7c5f3
@ -256,7 +256,7 @@ static void openwifi_free_tx_ring(struct openwifi_priv *priv, int ring_idx)
|
||||
// dev_kfree_skb(ring->bds[i].skb_linked); // only use dev_kfree_skb when there is exception
|
||||
if ( (ring->bds[i].dma_mapping_addr != 0 && ring->bds[i].skb_linked == 0) ||
|
||||
(ring->bds[i].dma_mapping_addr == 0 && ring->bds[i].skb_linked != 0))
|
||||
printk("%s openwifi_free_tx_ring: WARNING ring %d i %d skb_linked %p dma_mapping_addr %08llx\n", sdr_compatible_str,
|
||||
printk("%s openwifi_free_tx_ring: WARNING ring %d i %d skb_linked %p dma_mapping_addr %08x\n", sdr_compatible_str,
|
||||
ring_idx, i, (void*)(ring->bds[i].skb_linked), ring->bds[i].dma_mapping_addr);
|
||||
|
||||
ring->bds[i].skb_linked=0;
|
||||
|
@ -378,7 +378,7 @@ static int dev_probe(struct platform_device *pdev)
|
||||
if (IS_ERR(base_addr))
|
||||
return PTR_ERR(base_addr);
|
||||
|
||||
printk("%s dev_probe io start 0x%08llx end 0x%08llx name %s flags 0x%08x desc 0x%08x\n", tx_intf_compatible_str,io->start,io->end,io->name,(u32)io->flags,(u32)io->desc);
|
||||
printk("%s dev_probe io start 0x%08x end 0x%08x name %s flags 0x%08x desc 0x%08x\n", tx_intf_compatible_str,io->start,io->end,io->name,(u32)io->flags,(u32)io->desc);
|
||||
printk("%s dev_probe base_addr 0x%p\n", tx_intf_compatible_str,(void*)base_addr);
|
||||
printk("%s dev_probe tx_intf_driver_api_inst 0x%p\n", tx_intf_compatible_str, (void*)(&tx_intf_driver_api_inst) );
|
||||
printk("%s dev_probe tx_intf_api 0x%p\n", tx_intf_compatible_str, (void*)tx_intf_api);
|
||||
|
Loading…
x
Reference in New Issue
Block a user