From: Kalle Valo <kvalo@codeaurora.org>
To: kbuild-all@lists.01.org
Subject: 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: Mon, 25 Oct 2021 11:32:48 +0300 [thread overview]
Message-ID: <87czntec7j.fsf@codeaurora.org> (raw)
In-Reply-To: <202110221747.WkHAcugU-lkp@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]
kernel test robot <lkp@intel.com> 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@intel.com>
>
> 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(a)kernel.org/
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
WARNING: multiple messages have this Message-ID (diff)
From: Kalle Valo <kvalo@codeaurora.org>
To: kernel test robot <lkp@intel.com>
Cc: Alagu Sankar <alagusankar@silex-india.com>,
kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Erik Stromdahl <erik.stromdahl@gmail.com>,
Fabio Estevam <festevam@denx.de>
Subject: 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: Mon, 25 Oct 2021 11:32:48 +0300 [thread overview]
Message-ID: <87czntec7j.fsf@codeaurora.org> (raw)
In-Reply-To: <202110221747.WkHAcugU-lkp@intel.com> (kernel test robot's message of "Fri, 22 Oct 2021 17:37:56 +0800")
kernel test robot <lkp@intel.com> 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@intel.com>
>
> 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@kernel.org/
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
next prev parent reply other threads:[~2021-10-25 8:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-22 9:37 [linux-next:master 3525/10297] drivers/net/wireless/ath/ath10k/mac.c:5586:26: warning: cast from pointer to integer of different size kernel test robot
2021-10-22 9:37 ` kernel test robot
2021-10-25 8:32 ` Kalle Valo [this message]
2021-10-25 8:32 ` Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87czntec7j.fsf@codeaurora.org \
--to=kvalo@codeaurora.org \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.