Hi Sakari, kernel test robot noticed the following build errors: [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on char-misc/char-misc-next char-misc/char-misc-linus herbert-cryptodev-2.6/master linus/master v6.15-rc1 next-20250410] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Sakari-Ailus/hwrng-atmel-Add-a-local-variable-for-struct-device-pointer/20250410-151223 base: char-misc/char-misc-testing patch link: https://lore.kernel.org/r/20250410070623.3676647-4-sakari.ailus%40linux.intel.com patch subject: [PATCH 3/3] hwrng: npcm - Add a local variable for struct device pointer config: arm-randconfig-001-20250410 (https://download.01.org/0day-ci/archive/20250410/202504102028.H0evWtkl-lkp@xxxxxxxxx/config) compiler: clang version 19.1.1 (https://github.com/llvm/llvm-project d401987fe349a87c53fe25829215b080b70c0c1a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250410/202504102028.H0evWtkl-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202504102028.H0evWtkl-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> drivers/char/hw_random/npcm-rng.c:57:54: error: expected ';' at end of declaration 57 | struct device *dev = (struct device *)priv->rng.priv | ^ | ; 1 error generated. vim +57 drivers/char/hw_random/npcm-rng.c 53 54 static int npcm_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) 55 { 56 struct npcm_rng *priv = to_npcm_rng(rng); > 57 struct device *dev = (struct device *)priv->rng.priv 58 int retval = 0; 59 int ready; 60 61 pm_runtime_get_sync(dev); 62 63 while (max) { 64 if (wait) { 65 if (readb_poll_timeout(priv->base + NPCM_RNGCS_REG, 66 ready, 67 ready & NPCM_RNG_DATA_VALID, 68 NPCM_RNG_POLL_USEC, 69 NPCM_RNG_TIMEOUT_USEC)) 70 break; 71 } else { 72 if ((readb(priv->base + NPCM_RNGCS_REG) & 73 NPCM_RNG_DATA_VALID) == 0) 74 break; 75 } 76 77 *(u8 *)buf = readb(priv->base + NPCM_RNGD_REG); 78 retval++; 79 buf++; 80 max--; 81 } 82 83 pm_runtime_mark_last_busy(dev); 84 pm_runtime_put_sync_autosuspend(dev); 85 86 return retval || !wait ? retval : -EIO; 87 } 88 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki