Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp304708ybc; Tue, 12 Nov 2019 01:38:19 -0800 (PST) X-Google-Smtp-Source: APXvYqzwumK9y4iMESN7verT9w5jHhSjpvwQLSyCNR1wceOP8Mx2rT9tdXXFNCFKt1uRRMGK02lV X-Received: by 2002:a17:906:b7c6:: with SMTP id fy6mr27351320ejb.90.1573551499699; Tue, 12 Nov 2019 01:38:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573551499; cv=none; d=google.com; s=arc-20160816; b=pqhDVFGiRVnPMDDkk9RrXAlRKdeKqpIqNVBXo/4s0KdGQYXOm/hD9sGJO9MUB4Wcps rTQM8SAbGbr6ISTVTigydR9w3NFqxTq5WqnZPY7Qnxt/lUDdkOdUVLeTqSZr3BAymGW1 N7j8LCJEac5o1GSK+Q79r2lp1KX7l0gTQOh8e34azo2u6qUYZfcPg+0Jdf70/jIHsTbV nQmFsuuIoc9C5PaFeAf7qgNlYZ6mvtFb6bs0fqciLkTSdirGwur/ALRo5MqFJPXYP1H8 I+c9NaOwHGpkgruMeL6+LDR5gXkVBomEBeHoMGf/CdYIE00GPEo0LxZY74Rdlt4pkHXX YVOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=oaj1E/kv5TLb76cZYS6U6PoCB07whC/O3d8mIn1w4YM=; b=WDXSSC/jK/EP3H9wNDCj3Wkgfhl2iwy5NOySoO026P2jRGfoAH7G0FejaWz78QJvzY yIfN/XekvHLuDYoGw2spWIwkaNWu4CshX6RZQF0LFp8oimn0cgvxv0i+oLT8Hy8MLoKN T4/i+ufKN3ORrPgK8R3IndAstPSeKBhUUm2sUTHqPIPBt66iAz/Q2gT2c7CM6MpaVmoJ 5dEdFOw8e1Zf2HXT+y+UD/8o3vAu9StXe1e0iN+afRTa2j4dZ0JiFnJe1kjniDLytS6a cHH8RCAqmUsldTkpjxU5y92TWdfUs/XkCY+dMUnpq9jBPs+gP4OkvqGeK4hgmZeFLotM /YYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rXxBW2sQ; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f37si12673398ede.11.2019.11.12.01.37.54; Tue, 12 Nov 2019 01:38:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rXxBW2sQ; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727104AbfKLJfc (ORCPT + 99 others); Tue, 12 Nov 2019 04:35:32 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:42932 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726008AbfKLJfc (ORCPT ); Tue, 12 Nov 2019 04:35:32 -0500 Received: by mail-wr1-f66.google.com with SMTP id a15so17655103wrf.9 for ; Tue, 12 Nov 2019 01:35:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=oaj1E/kv5TLb76cZYS6U6PoCB07whC/O3d8mIn1w4YM=; b=rXxBW2sQnIxizld2YMECZrm2rE70o/bvTIHFjYU75H1Tf3xMwvv5w0HkpEfNcSW32a /kngm3doeVG7wlCsenPhbJ7VzKjXkypsxJ/M5Bg8zYbcgMvpt0/o+m0sNfxkoRJh5zUO AGoA/nmBNaKx0iXXpTFFEMCY+2/nzkMgACWLk7y9lBXNjqrpNaXXPZSFsi8ZodZm6Wk4 r1rVzzfESgLtXUGoySVnXt/fnZ1bc9sdZ6pm5Z/lfvzhQolKVqsSx/+VaG5SbSxgq898 RDbb6wjCg4PDyDPul0XU7syFSLM8PvzrjMZ1kSvJPEHaPxS8FdNFMvi9b2L91jpyoKP9 WFJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=oaj1E/kv5TLb76cZYS6U6PoCB07whC/O3d8mIn1w4YM=; b=ILxWmeTv87QstWN90kJn1KNj1ZACL6FAVVNO7wejgEQh/xLTTsccX24O9NiMitd48j L2tr6RP33eQCwKVwqeROnjnr0CGA8vb+45dKFuNcUKCi+yt6hDMrT6HwNWbfFWVCHEad 4XjHwHbY8z42O6/EMxuyCKM7J2TTW361L54R0vUKAOxpLCOkyMHRJFvHWU3TDGYGDMVz q9OIfmdFlx5T7xbirl698+6HgAO7MGovFsadNOU5aTQae+S0JAnJrolQDMBpxMjtJMpe nS3kRZSUWB/AtBW4XJwGr2ykBNjmTm8lN/7QNPMhsDz19jeYoEywuDCUkwJL3asXWWFr mYTw== X-Gm-Message-State: APjAAAWguPlWvM1li+mtxkY+5ArP788uyZeKdTItvqwFU/av0BSFMcxU 82iuThbWcmI7c0U1QMIwd8jDb5iV X-Received: by 2002:adf:9323:: with SMTP id 32mr24361690wro.15.1573551329995; Tue, 12 Nov 2019 01:35:29 -0800 (PST) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id u16sm19626625wrr.65.2019.11.12.01.35.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2019 01:35:29 -0800 (PST) Date: Tue, 12 Nov 2019 10:35:27 +0100 From: Corentin Labbe To: Herbert Xu Cc: Linux Crypto Mailing List Subject: Re: [PATCH] crypto: sun4i-ss - Fix 64-bit size_t warnings Message-ID: <20191112093527.GB18647@Red> References: <20191112023834.l7mbyrlhhaxgpbdp@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191112023834.l7mbyrlhhaxgpbdp@gondor.apana.org.au> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 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 > 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 Tested-by: Corentin Labbe Tested-on: sun7i-a20-cubieboard2 Tested-on: sun8i-a33-olinuxino