Skip to contentSkip to conversation

vmbus_bufring.c:172:37: warning: taking address of packed member of 'struct vmbus_bufring' may result in an unaligned pointer value

PATCH kernel test robot 1 participant 1 message Apr 12, 2024

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

::::::
:::::: Manual check reason: "low confidence bisect report" ::::::

BCC: [email protected]
CC: [email protected]
TO: Saurabh Sengar <[email protected]>
CC: "Greg Kroah-Hartman" <[email protected]>
CC: Long Li <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-next
head:   dc806bd48abc1b8a4ae72709a37e65db42a32048
commit: 82b0945ce2c2d636d5e893ad50210875c929f257 [11/26] tools: hv: Add new fcopy application based on uio driver

:::::: branch date: 22 hours ago
:::::: commit date: 22 hours ago
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240412/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

All warnings (new ones prefixed by >>):

vmbus_bufring.c: In function 'vmbus_txbr_write':

>> vmbus_bufring.c:172:37: warning: taking address of packed member of 'struct vmbus_bufring' may result in an unaligned pointer value [-Waddress-of-packed-member]
     172 |         while (!rte_atomic32_cmpset(&vbr->windex, old_windex, next_windex))
         |                                     ^~~~~~~~~~~~
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki