Subject: Re: linux-next: Tree for Apr 17 (drivers/char/hw_random/cctrng.c)

From: Randy Dunlap <[email-masked]>
Date: Fri, 17 Apr 2020 08:23:19 -0700

On 4/16/20 9:50 PM, Stephen Rothwell wrote:
> Hi all,
> Changes since 20200416:

on i386:

../drivers/char/hw_random/cctrng.c: In function ‘cc_trng_compwork_handler’:
../drivers/char/hw_random/cctrng.c:334:49: error: ‘fips_enabled’ undeclared (first use in this function); did you mean ‘nx_enabled’?
  if (CC_REG_FLD_GET(RNG_ISR, CRNGT_ERR, isr) && fips_enabled) {
                                                 ^~~~~~~~~~~~
                                                 nx_enabled
../drivers/char/hw_random/cctrng.c:334:49: note: each undeclared identifier is reported only once for each function it appears in
../drivers/char/hw_random/cctrng.c:335:3: error: implicit declaration of function ‘fips_fail_notify’; did you mean ‘sysfs_notify’? [-Werror=implicit-function-declaration]
   fips_fail_notify();
   ^~~~~~~~~~~~~~~~
   sysfs_notify

Full randconfig file is attached.

-- 
~Randy
Reported-by: Randy Dunlap <[email-masked]>