* Re: mmotm 2022-04-25-17-59 uploaded (drivers/char/hw_random/mpfs-rng.c)
[not found] <20220426005932.848CBC385A4@smtp.kernel.org>
@ 2022-04-26 3:19 ` Randy Dunlap
2022-04-26 6:36 ` Conor.Dooley
0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2022-04-26 3:19 UTC (permalink / raw)
To: Andrew Morton, broonie, mhocko, sfr, linux-next, linux-fsdevel,
linux-mm, linux-kernel, mm-commits
Cc: linux-crypto, Herbert Xu, conor.dooley
[-- Attachment #1: Type: text/plain, Size: 1920 bytes --]
On 4/25/22 17:59, Andrew Morton wrote:
> The mm-of-the-moment snapshot 2022-04-25-17-59 has been uploaded to
>
> https://www.ozlabs.org/~akpm/mmotm/
>
> mmotm-readme.txt says
>
> README for mm-of-the-moment:
>
> https://www.ozlabs.org/~akpm/mmotm/
>
> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
> more than once a week.
>
> You will need quilt to apply these patches to the latest Linus release (5.x
> or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
> https://ozlabs.org/~akpm/mmotm/series
>
> The file broken-out.tar.gz contains two datestamp files: .DATE and
> .DATE-yyyy-mm-dd-hh-mm-ss. Both contain the string yyyy-mm-dd-hh-mm-ss,
> followed by the base kernel version against which this patch series is to
> be applied.
on x86_64:
../drivers/char/hw_random/mpfs-rng.c: In function ‘mpfs_rng_read’:
../drivers/char/hw_random/mpfs-rng.c:49:9: error: implicit declaration of function ‘mpfs_blocking_transaction’ [-Werror=implicit-function-declaration]
ret = mpfs_blocking_transaction(rng_priv->sys_controller, &msg);
^~~~~~~~~~~~~~~~~~~~~~~~~
CC net/bluetooth/hci_sock.o
CC lib/list-test.o
../drivers/char/hw_random/mpfs-rng.c: In function ‘mpfs_rng_probe’:
../drivers/char/hw_random/mpfs-rng.c:74:30: error: implicit declaration of function ‘mpfs_sys_controller_get’ [-Werror=implicit-function-declaration]
rng_priv->sys_controller = mpfs_sys_controller_get(&pdev->dev);
^~~~~~~~~~~~~~~~~~~~~~~
../drivers/char/hw_random/mpfs-rng.c:74:27: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
rng_priv->sys_controller = mpfs_sys_controller_get(&pdev->dev);
^
CONFIG_HW_RANDOM_POLARFIRE_SOC=y
No other POLARFIRE kconfig symbols are set/enabled.
CONFIG_COMPILE_TEST=y
Full randconfig file is attached.
--
~Randy
[-- Attachment #2: config-r2719.gz --]
[-- Type: application/gzip, Size: 50038 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mmotm 2022-04-25-17-59 uploaded (drivers/char/hw_random/mpfs-rng.c)
2022-04-26 3:19 ` mmotm 2022-04-25-17-59 uploaded (drivers/char/hw_random/mpfs-rng.c) Randy Dunlap
@ 2022-04-26 6:36 ` Conor.Dooley
2022-04-26 9:40 ` Herbert Xu
0 siblings, 1 reply; 3+ messages in thread
From: Conor.Dooley @ 2022-04-26 6:36 UTC (permalink / raw)
To: rdunlap, sfr, herbert, akpm
Cc: mhocko, linux-crypto, Conor.Dooley, broonie, linux-fsdevel,
mm-commits, linux-next, linux-mm, linux-kernel
On 26/04/2022 04:19, Randy Dunlap wrote:
>
>
> On 4/25/22 17:59, Andrew Morton wrote:
>> The mm-of-the-moment snapshot 2022-04-25-17-59 has been uploaded to
>>
>> https://www.ozlabs.org/~akpm/mmotm/
>>
>> mmotm-readme.txt says
>>
>> README for mm-of-the-moment:
>>
>> https://www.ozlabs.org/~akpm/mmotm/
>>
>> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
>> more than once a week.
>>
>> You will need quilt to apply these patches to the latest Linus release (5.x
>> or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
>> https://ozlabs.org/~akpm/mmotm/series
>>
>> The file broken-out.tar.gz contains two datestamp files: .DATE and
>> .DATE-yyyy-mm-dd-hh-mm-ss. Both contain the string yyyy-mm-dd-hh-mm-ss,
>> followed by the base kernel version against which this patch series is to
>> be applied.
>
> on x86_64:
>
> ../drivers/char/hw_random/mpfs-rng.c: In function ‘mpfs_rng_read’:
> ../drivers/char/hw_random/mpfs-rng.c:49:9: error: implicit declaration of function ‘mpfs_blocking_transaction’ [-Werror=implicit-function-declaration]
> ret = mpfs_blocking_transaction(rng_priv->sys_controller, &msg);
> ^~~~~~~~~~~~~~~~~~~~~~~~~
> CC net/bluetooth/hci_sock.o
> CC lib/list-test.o
> ../drivers/char/hw_random/mpfs-rng.c: In function ‘mpfs_rng_probe’:
> ../drivers/char/hw_random/mpfs-rng.c:74:30: error: implicit declaration of function ‘mpfs_sys_controller_get’ [-Werror=implicit-function-declaration]
> rng_priv->sys_controller = mpfs_sys_controller_get(&pdev->dev);
> ^~~~~~~~~~~~~~~~~~~~~~~
> ../drivers/char/hw_random/mpfs-rng.c:74:27: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
> rng_priv->sys_controller = mpfs_sys_controller_get(&pdev->dev);
> ^
>
> CONFIG_HW_RANDOM_POLARFIRE_SOC=y
> No other POLARFIRE kconfig symbols are set/enabled.
> CONFIG_COMPILE_TEST=y
>
> Full randconfig file is attached.
>
Looks like a silly oversight on my part while reviewing 6a71277ce91e
("hwrng: mpfs - Enable COMPILE_TEST"), I forgot that the stubbed versions
of the system controller functions were removed during upstreaming.
@Herbert, would you rather revert the part of 6a71277ce91e that enables
compile test or I can send a patch for the stubbed versions now that
there is a user for them? (My preference would be to keep COMPILE_TEST)
Thanks,
Conor.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mmotm 2022-04-25-17-59 uploaded (drivers/char/hw_random/mpfs-rng.c)
2022-04-26 6:36 ` Conor.Dooley
@ 2022-04-26 9:40 ` Herbert Xu
0 siblings, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2022-04-26 9:40 UTC (permalink / raw)
To: Conor.Dooley
Cc: rdunlap, sfr, akpm, mhocko, linux-crypto, broonie, linux-fsdevel,
mm-commits, linux-next, linux-mm, linux-kernel
On Tue, Apr 26, 2022 at 06:36:27AM +0000, Conor.Dooley@microchip.com wrote:
>
> @Herbert, would you rather revert the part of 6a71277ce91e that enables
> compile test or I can send a patch for the stubbed versions now that
> there is a user for them? (My preference would be to keep COMPILE_TEST)
I'll just revert that patch because it turns out the underlying
option already supports COMPILE_TEST so this is redundant.
Thanks,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-26 10:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20220426005932.848CBC385A4@smtp.kernel.org>
2022-04-26 3:19 ` mmotm 2022-04-25-17-59 uploaded (drivers/char/hw_random/mpfs-rng.c) Randy Dunlap
2022-04-26 6:36 ` Conor.Dooley
2022-04-26 9:40 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).