Re: [PATCH v2 1/2] dmaengine: ioatdma: fix zero day warning on incompatible pointer type

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

 



On Thu, Aug 20, 2015 at 08:44:09AM -0700, Dave Jiang wrote:
> The 32bit build is creating this warning. Since we don't expect anyone
> actually use this on 32bit, restrict ioatdma to be built only on x86_64.
> This issue has long existed and only reason it's surfacing due to code
> refactoring.
> 
>    drivers/dma/ioat/dma.c: In function 'ioat_timer_event':
> >> drivers/dma/ioat/dma.c:870:39: warning: passing argument 2 of 'ioat_cleanup_preamble' from incompatible pointer type
>      if (ioat_cleanup_preamble(ioat_chan, &phys_complete))
>                                           ^
>    drivers/dma/ioat/dma.c:577:13: note: expected 'u64 *' but argument is of type 'dma_addr_t *'
>     static bool ioat_cleanup_preamble(struct ioatdma_chan *ioat_chan,
>                 ^

Applied, both

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



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux