* [freescale-fslc:pr/629 4631/9838] drivers/firmware/imx/ele_trng.c:91:5: error: redefinition of 'ele_trng_init'
@ 2023-04-15 14:12 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-15 14:12 UTC (permalink / raw)
To: Otavio Salvador; +Cc: oe-kbuild-all
tree: https://github.com/Freescale/linux-fslc pr/629
head: d1033c2e51746dfdb7179c82e38b03ba7de39c63
commit: 45df0f582836b4f75f20627d85dff2668bde0f17 [4631/9838] LF-7285: firmware: imx: ele: Add support for ELE HW Random Number Generator
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20230415/202304152252.g70HbQQu-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 12.1.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
# https://github.com/Freescale/linux-fslc/commit/45df0f582836b4f75f20627d85dff2668bde0f17
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc pr/629
git checkout 45df0f582836b4f75f20627d85dff2668bde0f17
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304152252.g70HbQQu-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/firmware/imx/ele_trng.c:44:5: warning: no previous prototype for 'ele_get_random' [-Wmissing-prototypes]
44 | int ele_get_random(struct hwrng *rng, void *data, size_t len, bool wait)
| ^~~~~~~~~~~~~~
>> drivers/firmware/imx/ele_trng.c:91:5: error: redefinition of 'ele_trng_init'
91 | int ele_trng_init(struct device *dev)
| ^~~~~~~~~~~~~
In file included from drivers/firmware/imx/ele_trng.c:13:
drivers/firmware/imx/ele_mu.h:146:19: note: previous definition of 'ele_trng_init' with type 'int(struct device *)'
146 | static inline int ele_trng_init(struct device *dev)
| ^~~~~~~~~~~~~
vim +/ele_trng_init +91 drivers/firmware/imx/ele_trng.c
90
> 91 int ele_trng_init(struct device *dev)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-15 14:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-15 14:12 [freescale-fslc:pr/629 4631/9838] drivers/firmware/imx/ele_trng.c:91:5: error: redefinition of 'ele_trng_init' kernel test robot
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.