linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH 0/2] crypto: sunxi-ss: fix 64-bit compilation
@ 2016-01-08 11:24 Andre Przywara
       [not found] ` <1452252249-12040-1-git-send-email-andre.przywara-5wv7dgnIgG8@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Andre Przywara @ 2016-01-08 11:24 UTC (permalink / raw)
  To: Corentin Labbe, Maxime Ripard, Chen-Yu Tsai, Arnd Bergmann
  Cc: Herbert Xu, David S . Miller, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-crypto-u79uwXL29TY76Z2rM5mHXA

(resending to add linux-crypto, patches unchanged)

Hi,

these two patches provide a different approach to an issue I tried
to fix lately [1].
Instead of casting everything I now promote local types to size_t, so
that the min3() arguments naturally match in type.
As size_t is defined as "unsigned int" on 32-bit architectures
anyway, that actually does not change anything there, but instead
provides a clean approach to get it compiled for arm64.

I split this up because 1/2 seems much cleaner to me than 2/2, so we
can have a separate discussion/merge process on this.

Cheers,
Andre.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/395689.html

Andre Przywara (2):
  crypto: sunxi-ss-cipher: promote variables to match types in min3()
    calls
  crypto: sunxi-ss-hash: promote variables to match types in min3()
    calls

 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c | 20 ++++++++++----------
 drivers/crypto/sunxi-ss/sun4i-ss-hash.c   | 12 ++++++------
 drivers/crypto/sunxi-ss/sun4i-ss.h        |  2 +-
 3 files changed, 17 insertions(+), 17 deletions(-)

-- 
2.6.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-18 10:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-08 11:24 [RESEND PATCH 0/2] crypto: sunxi-ss: fix 64-bit compilation Andre Przywara
     [not found] ` <1452252249-12040-1-git-send-email-andre.przywara-5wv7dgnIgG8@public.gmane.org>
2016-01-08 11:24   ` [RESEND PATCH 1/2] crypto: sunxi-ss-cipher: promote variables to match types in min3() calls Andre Przywara
2016-01-08 11:24   ` [RESEND PATCH 2/2] crypto: sunxi-ss-hash: " Andre Przywara
2016-01-16 20:32   ` [RESEND PATCH 0/2] crypto: sunxi-ss: fix 64-bit compilation Corentin LABBE
     [not found]     ` <569AA8ED.7050404-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-01-18 10:01       ` Andre Przywara
2016-01-18 10:15         ` Borislav Petkov

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).