From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753742AbcAGP6s (ORCPT ); Thu, 7 Jan 2016 10:58:48 -0500 Received: from foss.arm.com ([217.140.101.70]:40625 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753708AbcAGP6r (ORCPT ); Thu, 7 Jan 2016 10:58:47 -0500 From: Andre Przywara To: Corentin Labbe , maxime.ripard@free-electrons.com, Chen-Yu Tsai , arnd@arndb.de Cc: Herbert Xu , "David S . Miller" , linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] crypto: sunxi-ss: fix 64-bit compilation Date: Thu, 7 Jan 2016 15:58:16 +0000 Message-Id: <1452182298-4653-1-git-send-email-andre.przywara@arm.com> X-Mailer: git-send-email 2.6.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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