From: kernel test robot <lkp@intel.com>
To: Baochen Qiang <quic_bqiang@quicinc.com>, ath11k@lists.infradead.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-wireless@vger.kernel.org, quic_bqiang@quicinc.com
Subject: Re: [PATCH ath-next 1/5] wifi: ath11k: determine PM policy based on machine model
Date: Fri, 21 Mar 2025 06:43:31 +0800 [thread overview]
Message-ID: <202503210624.I3zealnl-lkp@intel.com> (raw)
In-Reply-To: <20250320023003.65028-2-quic_bqiang@quicinc.com>
Hi Baochen,
kernel test robot noticed the following build warnings:
[auto build test WARNING on b6f473c96421b8b451a8df8ccb620bcd71d4b3f4]
url: https://github.com/intel-lab-lkp/linux/commits/Baochen-Qiang/wifi-ath11k-determine-PM-policy-based-on-machine-model/20250320-103536
base: b6f473c96421b8b451a8df8ccb620bcd71d4b3f4
patch link: https://lore.kernel.org/r/20250320023003.65028-2-quic_bqiang%40quicinc.com
patch subject: [PATCH ath-next 1/5] wifi: ath11k: determine PM policy based on machine model
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20250321/202503210624.I3zealnl-lkp@intel.com/config)
compiler: clang version 20.1.1 (https://github.com/llvm/llvm-project 424c2d9b7e4de40d0804dd374721e6411c27d1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250321/202503210624.I3zealnl-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/202503210624.I3zealnl-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/wireless/ath/ath11k/core.c:2381:19: warning: cast to smaller integer type 'enum ath11k_pm_policy' from 'void *' [-Wvoid-pointer-to-enum-cast]
2381 | ab->pm_policy = (enum ath11k_pm_policy)dmi_id->driver_data;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
vim +2381 drivers/net/wireless/ath/ath11k/core.c
2373
2374 int ath11k_core_init(struct ath11k_base *ab)
2375 {
2376 const struct dmi_system_id *dmi_id;
2377 int ret;
2378
2379 dmi_id = dmi_first_match(ath11k_pm_quirk_table);
2380 if (dmi_id)
> 2381 ab->pm_policy = (enum ath11k_pm_policy)dmi_id->driver_data;
2382 else
2383 ab->pm_policy = ATH11K_PM_DEFAULT;
2384
2385 ath11k_dbg(ab, ATH11K_DBG_BOOT, "pm policy %u\n", ab->pm_policy);
2386
2387 ret = ath11k_core_soc_create(ab);
2388 if (ret) {
2389 ath11k_err(ab, "failed to create soc core: %d\n", ret);
2390 return ret;
2391 }
2392
2393 return 0;
2394 }
2395 EXPORT_SYMBOL(ath11k_core_init);
2396
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-03-20 22:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-20 2:29 [PATCH ath-next 0/5] wifi: ath11k: bring hibernation support back Baochen Qiang
2025-03-20 2:29 ` [PATCH ath-next 1/5] wifi: ath11k: determine PM policy based on machine model Baochen Qiang
2025-03-20 22:43 ` kernel test robot [this message]
2025-03-21 16:24 ` Jeff Johnson
2025-03-25 10:40 ` Julian Wollrath
2025-03-25 10:45 ` Baochen Qiang
2025-03-20 2:30 ` [PATCH ath-next 2/5] wifi: ath11k: introduce ath11k_core_continue_suspend_resume() Baochen Qiang
2025-03-20 2:30 ` [PATCH ath-next 3/5] wifi: ath11k: refactor ath11k_core_suspend/_resume() Baochen Qiang
2025-03-20 2:30 ` [PATCH ath-next 4/5] wifi: ath11k: support non-WoWLAN mode suspend as well Baochen Qiang
2025-03-20 2:30 ` [PATCH ath-next 5/5] Reapply "wifi: ath11k: restore country code during resume" Baochen Qiang
2025-03-23 20:12 ` [PATCH ath-next 0/5] wifi: ath11k: bring hibernation support back Muhammad Usama Anjum
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=202503210624.I3zealnl-lkp@intel.com \
--to=lkp@intel.com \
--cc=ath11k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=quic_bqiang@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