From: Corentin Labbe <clabbe.montjoie@gmail.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Linux Crypto Mailing List <linux-crypto@vger.kernel.org>
Subject: Re: [PATCH] crypto: sun4i-ss - Fix 64-bit size_t warnings
Date: Tue, 12 Nov 2019 10:35:27 +0100 [thread overview]
Message-ID: <20191112093527.GB18647@Red> (raw)
In-Reply-To: <20191112023834.l7mbyrlhhaxgpbdp@gondor.apana.org.au>
On Tue, Nov 12, 2019 at 10:38:34AM +0800, Herbert Xu wrote:
> If you try to compile this driver on a 64-bit platform then you
> will get warnings because it mixes size_t with unsigned int which
> only works on 32-bit.
>
> This patch fixes all of the warnings.
>
> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
>
Hello
Note that the driver is within !64BIT, so that compiling on 64-bit should not be doable/an issue, but removing this conditionnal could be a good point.
Furthermore, I just tested compiling on 64BIT and there are the same warnings on sun4i-ss-hash.c.
I will send a subsequent patch for it.
Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Tested-on: sun7i-a20-cubieboard2
Tested-on: sun8i-a33-olinuxino
next prev parent reply other threads:[~2019-11-12 9:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-12 2:38 [PATCH] crypto: sun4i-ss - Fix 64-bit size_t warnings Herbert Xu
2019-11-12 9:35 ` Corentin Labbe [this message]
2019-11-12 9:37 ` 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=20191112093527.GB18647@Red \
--to=clabbe.montjoie@gmail.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
/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