On Tue, 18 Aug 2020 23:46:12 +0800 Ooi, Joyce wrote:
> From: Dalon Westergreen <dalon.westergr...@intel.com>
> 
> Add support for the mSGDMA prefetcher.  The prefetcher adds support
> for a linked list of descriptors in system memory.  The prefetcher
> feeds these to the mSGDMA dispatcher.

This generates warnings on 32bit builds:

../drivers/net/ethernet/altera/altera_msgdma_prefetcher.c: In function 
‘msgdma_pref_initialize’:
../drivers/net/ethernet/altera/altera_msgdma_prefetcher.c:97:51: warning: 
format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 
has type ‘dma_addr_t’ {aka ‘unsigned int’} [-Wformat=]
   97 |   netdev_info(priv->dev, "%s: RX Desc mem at 0x%llx\n", __func__,
      |                                                ~~~^
      |                                                   |
      |                                                   long long unsigned int
      |                                                %x
   98 |        priv->pref_rxdescphys);
      |        ~~~~~~~~~~~~~~~~~~~~~                       
      |            |
      |            dma_addr_t {aka unsigned int}
../drivers/net/ethernet/altera/altera_msgdma_prefetcher.c:101:51: warning: 
format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 
has type ‘dma_addr_t’ {aka ‘unsigned int’} [-Wformat=]
  101 |   netdev_info(priv->dev, "%s: TX Desc mem at 0x%llx\n", __func__,
      |                                                ~~~^
      |                                                   |
      |                                                   long long unsigned int
      |                                                %x
  102 |        priv->pref_txdescphys);
      |        ~~~~~~~~~~~~~~~~~~~~~                       
      |            |
      |            dma_addr_t {aka unsigned int}

Reply via email to