Re: compile error in 4.14-rc5 with nvidia tegra enabled

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

 



Adding linux-tegra and Mikko ...

On 19/10/17 09:42, Hermann Lauer wrote:
> Hello,
> compiling 4.14-rc{4,5} with a debian testing arm config yields the attached
> error. Disabling the Nvidia tegra architecture (unneeded on
> Banana{Pro,Pi,Ultra}) helps.
> 
> Thanks,
>  greetings
>    Hermann
> 
>   CC [M]  drivers/gpu/host1x/cdma.o                                                                             
> drivers/gpu/host1x/cdma.c: In function ‘host1x_pushbuffer_init’:                                                
> drivers/gpu/host1x/cdma.c:94:48: error: passing argument 3 of ‘dma_alloc_wc’ from incompatible pointer type [-We
> rror=incompatible-pointer-types]                                                                                
>    pb->mapped = dma_alloc_wc(host1x->dev, size, &pb->phys,                                                      
>                                                 ^                                                               
> In file included from drivers/gpu/host1x/cdma.c:22:0:                                                           
> ./include/linux/dma-mapping.h:780:21: note: expected ‘dma_addr_t * {aka long long unsigned int *}’ but argument 
> is of type ‘phys_addr_t * {aka unsigned int *}’                                                                 
>  static inline void *dma_alloc_wc(struct device *dev, size_t size,                                              
>                      ^~~~~~~~~~~~                                                                               
> drivers/gpu/host1x/cdma.c:113:48: error: passing argument 3 of ‘dma_alloc_wc’ from incompatible pointer type [-W
> error=incompatible-pointer-types]                                                                               
>    pb->mapped = dma_alloc_wc(host1x->dev, size, &pb->phys,                                                      
>                                                 ^                                                               
> In file included from drivers/gpu/host1x/cdma.c:22:0:                                                           
> ./include/linux/dma-mapping.h:780:21: note: expected ‘dma_addr_t * {aka long long unsigned int *}’ but argument 
> is of type ‘phys_addr_t * {aka unsigned int *}’                                                                 
>  static inline void *dma_alloc_wc(struct device *dev, size_t size,                                              
>                      ^~~~~~~~~~~~                                                                               
>   CC [M]  drivers/hid/hid-ntrig.o                                                                               
> cc1: some warnings being treated as errors                                                                      

Thanks for the report. I don't see this. What config and toolchain are
you using?

Mikko, have you seen this?

Cheers
Jon

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



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux