From: Jiri Kosina <jikos@kernel.org>
To: Mao Wenan <maowenan@huawei.com>
Cc: benjamin.tissoires@redhat.com, linux-input@vger.kernel.org,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
Hulk Robot <hulkci@huawei.com>,
Andrej Shadura <andrew.shadura@collabora.co.uk>
Subject: Re: [PATCH] HID: fix compiling error in u2fzero_probe()
Date: Mon, 15 Apr 2019 11:03:03 +0200 (CEST) [thread overview]
Message-ID: <nycvar.YFH.7.76.1904151102250.9803@cbobk.fhfr.pm> (raw)
In-Reply-To: <20190413134459.76045-1-maowenan@huawei.com>
On Sat, 13 Apr 2019, Mao Wenan wrote:
> There is one compiling error in u2fzero_probe()->u2fzero_init_hwrng(),
> this is because HW_RANDOM is not set.
>
> drivers/hid/hid-u2fzero.o: In function `u2fzero_probe':
> hid-u2fzero.c:(.text+0xc70): undefined reference to `devm_hwrng_register'
>
> Fixes: 42337b9d4d958("HID: add driver for U2F Zero built-in LED and RNG")
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Mao Wenan <maowenan@huawei.com>
> ---
> drivers/hid/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
> index 4dc1035..76d8206 100644
> --- a/drivers/hid/Kconfig
> +++ b/drivers/hid/Kconfig
> @@ -1017,6 +1017,7 @@ config HID_U2FZERO
> tristate "U2F Zero LED and RNG support"
> depends on USB_HID
> depends on LEDS_CLASS
> + depends on HW_RANDOM
[ CCing Andrej ]
This was supposed to be sent by Andrej (together with other fixes), but
you beat him to it. Applied, thanks.
--
Jiri Kosina
SUSE Labs
prev parent reply other threads:[~2019-04-15 9:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-13 13:44 Mao Wenan
2019-04-15 9:03 ` Jiri Kosina [this message]
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=nycvar.YFH.7.76.1904151102250.9803@cbobk.fhfr.pm \
--to=jikos@kernel.org \
--cc=andrew.shadura@collabora.co.uk \
--cc=benjamin.tissoires@redhat.com \
--cc=hulkci@huawei.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maowenan@huawei.com \
/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
all inboxes | Powered by JetHome®