Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on robh/for-next arm-soc/for-next linus/master v5.7-rc5
next-20200512]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see
https://stackoverflow.com/a/37406982]
url:
https://github.com/0day-ci/linux/commits/amirmizi6-gmail-com/Add-tpm-i2c-...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
84c1e51d7df85332705ffebc40ef135205492036
config: h8300-randconfig-r024-20200514 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.0
reproduce:
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 GCC_VERSION=9.3.0 make.cross ARCH=h8300
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
h8300-linux-ld: section .init.text LMA [00000000004a1318,00000000004ed689] overlaps
section .text LMA [0000000000000158,0000000000be5e95]
h8300-linux-ld: section .data VMA [0000000000400000,00000000004a1317] overlaps section
.text VMA [0000000000000158,0000000000be5e95]
h8300-linux-ld: arch/h8300/kernel/entry.o: in function `resume_kernel':
arch/h8300/kernel/entry.S:324: undefined reference to `TI_PRE_COUNT'
> h8300-linux-ld:
drivers/char/tpm/tpm_tis_spi_cr50.o:(.rodata+0x8): undefined reference to
`tpm_tis_spi_read16'
> h8300-linux-ld: drivers/char/tpm/tpm_tis_spi_cr50.o:(.rodata+0xc): undefined
reference to `tpm_tis_spi_read32'
> h8300-linux-ld: drivers/char/tpm/tpm_tis_spi_cr50.o:(.rodata+0x10): undefined
reference to `tpm_tis_spi_write32'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org