Re: [linux-next:master 3525/10297] drivers/net/wireless/ath/ath10k/mac.c:5586:26: warning: cast from pointer to integer of different size

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

 



kernel test robot <lkp@xxxxxxxxx> writes:

> Hi Alagu,
>
> FYI, the error/warning still remains.
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   3196a52aff93186897f15f1a6c03220ce6523d82
> commit: e263bdab9c0e8025fb7f41f153709a9cda51f6b6 [3525/10297] ath10k: high latency fixes for beacon buffer
> config: i386-randconfig-a014-20211004 (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
> reproduce (this is a W=1 build):
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e263bdab9c0e8025fb7f41f153709a9cda51f6b6
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout e263bdab9c0e8025fb7f41f153709a9cda51f6b6
>         # save the attached .config to linux build tree
>         make W=1 ARCH=i386 
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>
> All warnings (new ones prefixed by >>):
>
>    drivers/net/wireless/ath/ath10k/mac.c: In function 'ath10k_add_interface':
>>> drivers/net/wireless/ath/ath10k/mac.c:5586:26: warning: cast from
>> pointer to integer of different size [-Wpointer-to-int-cast]
>     5586 |    arvif->beacon_paddr = (dma_addr_t)arvif->beacon_buf;
>          |                          ^

This patch should fix it:

https://patchwork.kernel.org/project/linux-wireless/patch/20211014075153.3655910-1-arnd@xxxxxxxxxx/

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux