Hi Jacob,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on jkirsher-next-queue/dev-queue]
[cannot apply to net-next/master ipvs/master linus/master v5.8-rc6 next-20200717]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Jacob-Keller/introduce-PLDM-firm...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git dev-queue
config: arm-randconfig-c022-20200717 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from lib/pldmfw/pldmfw.c:15:
> lib/pldmfw/pldmfw_private.h:60:1: warning: alignment 1 of
'struct __pldm_header' is less than 4 [-Wpacked-not-aligned]
60 | }
__packed __aligned(1);
| ^
> lib/pldmfw/pldmfw_private.h:45:26: warning:
'release_date' offset 19 in 'struct __pldm_header' isn't aligned to 4
[-Wpacked-not-aligned]
45 | struct __pldm_timestamp release_date; /*
PackageReleaseDateTime */
| ^~~~~~~~~~~~
vim +60 lib/pldmfw/pldmfw_private.h
6b3d6687bf587b Jacob Keller 2020-07-17 39
6b3d6687bf587b Jacob Keller 2020-07-17 40 /* Package Header Information */
6b3d6687bf587b Jacob Keller 2020-07-17 41 struct __pldm_header {
6b3d6687bf587b Jacob Keller 2020-07-17 42 uuid_t id; /* PackageHeaderIdentifier
*/
6b3d6687bf587b Jacob Keller 2020-07-17 43 u8 revision; /*
PackageHeaderFormatRevision */
6b3d6687bf587b Jacob Keller 2020-07-17 44 __le16 size; /* PackageHeaderSize */
6b3d6687bf587b Jacob Keller 2020-07-17 @45 struct __pldm_timestamp release_date; /*
PackageReleaseDateTime */
6b3d6687bf587b Jacob Keller 2020-07-17 46 __le16 component_bitmap_len; /*
ComponentBitmapBitLength */
6b3d6687bf587b Jacob Keller 2020-07-17 47 u8 version_type; /*
PackageVersionStringType */
6b3d6687bf587b Jacob Keller 2020-07-17 48 u8 version_len; /*
PackageVersionStringLength */
6b3d6687bf587b Jacob Keller 2020-07-17 49
6b3d6687bf587b Jacob Keller 2020-07-17 50 /*
6b3d6687bf587b Jacob Keller 2020-07-17 51 * DSP0267 also includes the following
variable length fields at the
6b3d6687bf587b Jacob Keller 2020-07-17 52 * end of this structure:
6b3d6687bf587b Jacob Keller 2020-07-17 53 *
6b3d6687bf587b Jacob Keller 2020-07-17 54 * PackageVersionString, length is
version_len.
6b3d6687bf587b Jacob Keller 2020-07-17 55 *
6b3d6687bf587b Jacob Keller 2020-07-17 56 * The total size of this section is
6b3d6687bf587b Jacob Keller 2020-07-17 57 * sizeof(pldm_header) + version_len;
6b3d6687bf587b Jacob Keller 2020-07-17 58 */
6b3d6687bf587b Jacob Keller 2020-07-17 59 u8 version_string[]; /* PackageVersionString
*/
6b3d6687bf587b Jacob Keller 2020-07-17 @60 } __packed __aligned(1);
6b3d6687bf587b Jacob Keller 2020-07-17 61
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org