From: <Conor.Dooley@microchip.com>
To: <rdunlap@infradead.org>, <sfr@canb.auug.org.au>,
<herbert@gondor.apana.org.au>, <akpm@linux-foundation.org>
Cc: <mhocko@suse.cz>, <linux-crypto@vger.kernel.org>,
<Conor.Dooley@microchip.com>, <broonie@kernel.org>,
<linux-fsdevel@vger.kernel.org>, <mm-commits@vger.kernel.org>,
<linux-next@vger.kernel.org>, <linux-mm@kvack.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: mmotm 2022-04-25-17-59 uploaded (drivers/char/hw_random/mpfs-rng.c)
Date: Tue, 26 Apr 2022 06:36:27 +0000 [thread overview]
Message-ID: <191e32d7-efde-327e-b112-000d8f778996@microchip.com> (raw)
In-Reply-To: <6ff380c5-4f2c-44ea-2541-b32733e45ac3@infradead.org>
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.
next prev parent reply other threads:[~2022-04-26 6:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-26 0:59 mmotm 2022-04-25-17-59 uploaded Andrew Morton
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 [this message]
2022-04-26 9:40 ` Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=191e32d7-efde-327e-b112-000d8f778996@microchip.com \
--to=conor.dooley@microchip.com \
--cc=akpm@linux-foundation.org \
--cc=broonie@kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-next@vger.kernel.org \
--cc=mhocko@suse.cz \
--cc=mm-commits@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox