From: Lingbo Kong <quic_lingbok@quicinc.com>
To: Jeff Johnson <quic_jjohnson@quicinc.com>,
kernel test robot <lkp@intel.com>, <ath12k@lists.infradead.org>
Cc: <oe-kbuild-all@lists.linux.dev>, <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH 2/4] wifi: ath12k: Add Support for enabling or disabling specific features based on ACPI bitflag
Date: Thu, 18 Jul 2024 10:22:00 +0800 [thread overview]
Message-ID: <cc711aca-acaa-401b-b8ea-40252b1f9207@quicinc.com> (raw)
In-Reply-To: <16d70523-dd1c-421c-98bb-8bd6ff319a6f@quicinc.com>
On 2024/7/18 5:44, Jeff Johnson wrote:
> On 7/17/2024 1:36 PM, kernel test robot wrote:
>> Hi Lingbo,
>>
>> kernel test robot noticed the following build errors:
>>
>> [auto build test ERROR on db1ce56e6e1d395dd42a3cd6332a871d9be59c45]
>>
>> url: https://github.com/intel-lab-lkp/linux/commits/Lingbo-Kong/wifi-ath12k-Add-support-for-obtaining-the-buffer-type-ACPI-function-bitmap/20240717-211701
>> base: db1ce56e6e1d395dd42a3cd6332a871d9be59c45
>> patch link: https://lore.kernel.org/r/20240717111023.78798-3-quic_lingbok%40quicinc.com
>> patch subject: [PATCH 2/4] wifi: ath12k: Add Support for enabling or disabling specific features based on ACPI bitflag
>> config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240718/202407180403.SFqsPj0v-lkp@intel.com/config)
>> compiler: alpha-linux-gcc (GCC) 13.3.0
>> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240718/202407180403.SFqsPj0v-lkp@intel.com/reproduce)
>>
>> If you fix the issue in a separate patch/commit (i.e. not just a new version of
>> the same patch/commit), kindly add following tags
>> | Reported-by: kernel test robot <lkp@intel.com>
>> | Closes: https://lore.kernel.org/oe-kbuild-all/202407180403.SFqsPj0v-lkp@intel.com/
>>
>> All errors (new ones prefixed by >>):
>>
>> drivers/net/wireless/ath/ath12k/core.c: In function 'ath12k_core_rfkill_config':
>>>> drivers/net/wireless/ath/ath12k/core.c:33:15: error: 'struct ath12k_base' has no member named 'acpi'
>> 33 | if (ab->acpi.acpi_disable_rfkill)
>> | ^~
>> --
>> drivers/net/wireless/ath/ath12k/mac.c: In function 'ath12k_mac_copy_eht_cap':
>>>> drivers/net/wireless/ath/ath12k/mac.c:5488:19: error: 'struct ath12k_base' has no member named 'acpi'
>> 5488 | ar->ab->acpi.acpi_disable_11be)
>> | ^~
>>
>
> Lingbo,
> looks like you need to have support functions in acpi.c with suitable stub
> functions in acpi.h for cases where CONFIG_ACPI is disabled.
>
> You cannot directly access ab->acpi outside acpi.c
>
> Nice catch kernel test robot. Wish I had the resources to run every patch
> through a large number of build configurations!
>
> /jeff
thanks a lot! jeff,
i'll change it in next version.
When i checked these codes using ath12k-check and smatch, these issues
did not appear:(
Out of curiosity, how can i set up a similar kernel test boot locally?
i can avoid issues like this when sending public reviews.
/lingbo kong
next prev parent reply other threads:[~2024-07-18 2:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-17 11:10 [PATCH 0/4] wifi: ath12k: Add new features to ACPI Lingbo Kong
2024-07-17 11:10 ` [PATCH 1/4] wifi: ath12k: Add support for obtaining the buffer type ACPI function bitmap Lingbo Kong
2024-07-17 16:52 ` Jeff Johnson
2024-07-17 11:10 ` [PATCH 2/4] wifi: ath12k: Add Support for enabling or disabling specific features based on ACPI bitflag Lingbo Kong
2024-07-17 16:52 ` Jeff Johnson
2024-07-17 20:36 ` kernel test robot
2024-07-17 21:44 ` Jeff Johnson
2024-07-18 2:22 ` Lingbo Kong [this message]
2024-07-18 2:31 ` Jeff Johnson
2024-07-17 22:23 ` kernel test robot
2024-07-17 11:10 ` [PATCH 3/4] wifi: ath12k: Adjust the timing to access ACPI table Lingbo Kong
2024-07-17 16:52 ` Jeff Johnson
2024-07-17 11:10 ` [PATCH 4/4] wifi: ath12k: Add support for reading variant from ACPI to download board data file Lingbo Kong
2024-07-17 16:52 ` Jeff Johnson
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=cc711aca-acaa-401b-b8ea-40252b1f9207@quicinc.com \
--to=quic_lingbok@quicinc.com \
--cc=ath12k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=quic_jjohnson@quicinc.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox