From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android12-5.10 0/2] drivers/crypto/qat/qat_common/adf_isr.c:128:43: warning: taking address of packed member 'status' of class or structure 'adf_accel_dev' may result in an unaligned pointer value
Date: Sat, 19 Sep 2026 05:19:22 +0800 [thread overview]
Message-ID: <202609190537.B3RFOTVl-lkp@intel.com> (raw)
tree: https://android.googlesource.com/kernel/common android12-5.10
head: 263b10a805c674d459d56d22ffe205ade744fe7e
commit: 218c2836b3987f3fa1d9eac505462cded0821e4c [0/2] crypto: qat - fix VF2PF work teardown race in adf_disable_sriov()
config: i386-randconfig-1005-20260918 (https://download.01.org/0day-ci/archive/20260919/202609190537.B3RFOTVl-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 7252edd9aa82ef1c570ff6694ef7f4763a8a5d2f)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260919/202609190537.B3RFOTVl-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/202609190537.B3RFOTVl-lkp@intel.com/
All warnings (new ones prefixed by >>):
clang: warning: optimization flag '-falign-jumps=0' is not supported [-Wignored-optimization-argument]
In file included from drivers/crypto/qat/qat_common/adf_isr.c:6:
In file included from include/linux/pci.h:35:
In file included from include/linux/kobject.h:20:
In file included from include/linux/sysfs.h:16:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/idr.h:15:
In file included from include/linux/radix-tree.h:14:
In file included from include/linux/percpu.h:6:
In file included from include/linux/preempt.h:79:
In file included from arch/x86/include/asm/preempt.h:7:
In file included from include/linux/thread_info.h:39:
arch/x86/include/asm/thread_info.h:185:13: warning: calling '__builtin_frame_address' with a nonzero argument is unsafe [-Wframe-address]
185 | oldframe = __builtin_frame_address(1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/include/asm/thread_info.h:187:11: warning: calling '__builtin_frame_address' with a nonzero argument is unsafe [-Wframe-address]
187 | frame = __builtin_frame_address(2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/crypto/qat/qat_common/adf_isr.c:6:
In file included from include/linux/pci.h:35:
In file included from include/linux/kobject.h:20:
In file included from include/linux/sysfs.h:16:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/idr.h:15:
In file included from include/linux/radix-tree.h:19:
In file included from include/linux/xarray.h:14:
In file included from include/linux/gfp.h:6:
include/linux/mmzone.h:1136:6: warning: variable 'nid' set but not used [-Wunused-but-set-variable]
1136 | int nid;
| ^
>> drivers/crypto/qat/qat_common/adf_isr.c:128:43: warning: taking address of packed member 'status' of class or structure 'adf_accel_dev' may result in an unaligned pointer value [-Waddress-of-packed-member]
128 | if (!test_bit(ADF_STATUS_IRQ_ALLOCATED, &accel_dev->status) || !msixe)
| ^~~~~~~~~~~~~~~~~
4 warnings generated.
vim +128 drivers/crypto/qat/qat_common/adf_isr.c
119
120 void adf_isr_sync_ae_cluster(struct adf_accel_dev *accel_dev)
121 {
122 struct adf_accel_pci *pci_dev_info = &accel_dev->accel_pci_dev;
123 struct adf_hw_device_data *hw_data = accel_dev->hw_device;
124 struct msix_entry *msixe = pci_dev_info->msix_entries.entries;
125 u32 num_entries = pci_dev_info->msix_entries.num_entries;
126 u32 irq_idx;
127
> 128 if (!test_bit(ADF_STATUS_IRQ_ALLOCATED, &accel_dev->status) || !msixe)
129 return;
130
131 irq_idx = num_entries > 1 ? hw_data->num_banks : 0;
132 if (irq_idx >= num_entries)
133 return;
134
135 synchronize_irq(msixe[irq_idx].vector);
136 }
137
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-09-18 21:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202609190537.B3RFOTVl-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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.