Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3616886imm; Mon, 10 Sep 2018 22:21:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaqS81xqvqr6tEogdNdjo/TZ/YpZZz1m5nm2FXujl7g6sDR07SmXM21vn4d+UX+/LubNl0B X-Received: by 2002:a62:c805:: with SMTP id z5-v6mr27781336pff.44.1536643309336; Mon, 10 Sep 2018 22:21:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536643309; cv=none; d=google.com; s=arc-20160816; b=V8TPMF+NS6AFf8n0pud/NH3jCV2LZ92SWckYNXerma9bWT+gBCJpOF8DV0jIA5OsaI wJ1zb1NtWiy9Ln7/C2dna8bhoqxXS5T9VgmKLqHQSvBD93Zrx50ombQD1DEJS87i2nQ8 YMCo4RiUyV3JsgAYE5rsj2aC6kDTB0KlcRqHuk1/Qwh411Py8QG1YQ2ImiCmh7LkycAF rwN4TEZzV9u70OXBvgIdX5gpk4N5lAuFfbYrhPajH8pjMpS5lx1/4mAv90EVk0MRPCg2 W26ptr1SplT8nuOY51ihKEpmYj+MTdYy/1e17TDpJSrY+XbfpAYnUKURiWMouqYhsx7G hwRw== 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; bh=M0jkdxZ6dCzROCROPElhGhSMJZXFa/1oSJbxcnrASeI=; b=UlBxJVENJ90hcPWVpLIGOclz0zEJdqW/B2kC8TtCzy+4BeyOQAnZF9i+NgRBHix4Hp SC7ecJVSGgUmpfouvovuw343wmfnXHloEWSUxnaYAzi8ScnpI9f/xHvyNV0erUTsywuz oNIgigPwExjruklTT33gDI3g9ZQhnou/iJEqV0IToZVs7aaVoLUILPNapRxdol/t8NHI 4ejw+KQKWs0nvA1NfTxx/HankPXOT/Gm3+XwQM30CzxpEK0ouH7cEEjtLYib3HM4ARb8 kWYoLeqTE/+jtIQeFrWefXICkyTx/qjM3nucsux4lcn/hGgUzwi+aJnbycsQB9uDNAw0 ZDvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x1-v6si19405845plb.135.2018.09.10.22.21.33; Mon, 10 Sep 2018 22:21:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726950AbeIKKSX (ORCPT + 99 others); Tue, 11 Sep 2018 06:18:23 -0400 Received: from mga12.intel.com ([192.55.52.136]:20080 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726426AbeIKKSX (ORCPT ); Tue, 11 Sep 2018 06:18:23 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Sep 2018 22:20:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,359,1531810800"; d="scan'208";a="256153640" Received: from bee.sh.intel.com (HELO lkp-server01) ([10.239.97.14]) by orsmga005.jf.intel.com with ESMTP; 10 Sep 2018 22:20:23 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1fzb67-000FOK-8W; Tue, 11 Sep 2018 13:20:23 +0800 Date: Tue, 11 Sep 2018 13:20:04 +0800 From: kbuild test robot To: Horia =?utf-8?Q?Geant=C4=83?= Cc: kbuild-all@01.org, Herbert Xu , Stuart Yoder , Laurentiu Tudor , Li Yang , Roy Pledge , Catalin Marinas , Will Deacon , "David S . Miller" , Aymen Sghaier , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 07/11] crypto: caam/qi2 - add DPAA2-CAAM driver Message-ID: <201809111311.rqCiSh3E%fengguang.wu@intel.com> References: <20180910171550.5659-8-horia.geanta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180910171550.5659-8-horia.geanta@nxp.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Horia, I love your patch! Perhaps something to improve: [auto build test WARNING on cryptodev/master] [also build test WARNING on v4.19-rc3 next-20180910] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Horia-Geant/crypto-caam-add-DPAA2-DPSECI-driver/20180911-055735 base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:96:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned long long @@ got restricted unsigned long long @@ drivers/crypto/caam/regs.h:96:1: expected unsigned long long drivers/crypto/caam/regs.h:96:1: got restricted __le64 [usertype] >> drivers/crypto/caam/regs.h:96:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned long long @@ got restricted unsigned long long @@ drivers/crypto/caam/regs.h:96:1: expected unsigned long long drivers/crypto/caam/regs.h:96:1: got restricted __be64 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: too many warnings -- >> drivers/crypto/caam/caamalg_qi2.c:83:6: sparse: symbol 'dpaa2_caam_iova_to_virt' was not declared. Should it be static? >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __le32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __le32 [usertype] >> drivers/crypto/caam/regs.h:95:1: sparse: incorrect type in return expression (different base types) @@ expected unsigned int @@ got restricted __be32unsigned int @@ drivers/crypto/caam/regs.h:95:1: expected unsigned int drivers/crypto/caam/regs.h:95:1: got restricted __be32 [usertype] >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __le32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 >> drivers/crypto/caam/regs.h:92:1: sparse: cast to restricted __be32 drivers/crypto/caam/regs.h:92:1: sparse: too many warnings drivers/crypto/caam/caamalg_qi2.c:288:13: warning: 'split_key_sh_done' defined but not used [-Wunused-function] static void split_key_sh_done(void *cbk_ctx, u32 err) ^~~~~~~~~~~~~~~~~ Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation