* [freescale-fslc:pr/643 4631/15767] drivers/firmware/imx/ele_trng.c:91:5: error: redefinition of 'ele_trng_init'
@ 2023-10-15 11:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-10-15 11:57 UTC (permalink / raw)
To: Otavio Salvador; +Cc: oe-kbuild-all
Hi Gaurav,
FYI, the error/warning still remains.
tree: https://github.com/Freescale/linux-fslc pr/643
head: 1fef7a26b48f767bcda4f5147cea10e83903ecf6
commit: 45df0f582836b4f75f20627d85dff2668bde0f17 [4631/15767] LF-7285: firmware: imx: ele: Add support for ELE HW Random Number Generator
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20231015/202310151956.a2fiayzb-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231015/202310151956.a2fiayzb-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/202310151956.a2fiayzb-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/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-15 11:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-15 11:57 [freescale-fslc:pr/643 4631/15767] 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.