Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2323053pxa; Fri, 7 Aug 2020 08:27:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxThPN2/ZjYgMuVuH+rfE+md/029H3LPFxRIFW/bdzTUWypwZLf+WX3TkfB0JdV1Zy8kE71 X-Received: by 2002:a17:906:24d0:: with SMTP id f16mr9483098ejb.325.1596814046096; Fri, 07 Aug 2020 08:27:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596814046; cv=none; d=google.com; s=arc-20160816; b=kJHxWEEqqe1thcmPnxS1sdv/4pkmKlXfHbpcWh+cU8c9gZuGM8W3pQWWSlbD7oFYuN kL3LBlxWO5rnIDtHpL+X7+ILpLA/OolyfWha1YotGAAcXWd2hYRjT4QaUWpmf5sT286G y1HPt34IKtwzrFubyW1v9SQI1nxJQ+PkuTDQHLh3h7j9r1OaEsu4JAzcmSSKsXkFk/Rp 6YqoVy1P/9UNQyf4e4ijc8dOVrnk/wrBVCo7uNFD43tfdKV277soKHFwec6dE9SEcUTh nTR5du209td3TnCeAwowWIqqVi5+OQ4Ofp+WBIhjlc+4KOq7uj4rqFGVXE9pvYCKvEgW MGxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=fTEVWCn3Rrv1Qkvqj1+IMnzE9q2dklXEbWOVBVyaVtg=; b=VKerPbRCqxgh3ZAgEWw97utASE4A+0s7/sX5CqIy/MrPMYfXpfzBXiSJVMHbilIEpJ 3OzA0808ZC1K9D9Ugox4Hzvwe68AKCy2nFFyVJyaVK1NnJ+87utaPtUkEo+SG8Vu3Znm m0qt7vORdVPjP+HCc4mG+DHlZCvtx3qWxuvnPhlAsMm38d/cg4YAmML4Pr61qtKaxpha lk92YlEFLA6XWePAa9N76S2W9+UoAkbi95tdEyBNUKnMzqLJp2Jl2G3W+mYUKlvXRYRw 0py7m1eKJttAF9isfo4yjqMV5TiwYfgdKgI4ClxxS4OOLjExFhMvbIY37HhT71O0vhhP g6Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XUlKlHjq; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a5si5347133edu.87.2020.08.07.08.26.53; Fri, 07 Aug 2020 08:27:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XUlKlHjq; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726186AbgHGPYk (ORCPT + 99 others); Fri, 7 Aug 2020 11:24:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:38770 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbgHGPYj (ORCPT ); Fri, 7 Aug 2020 11:24:39 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ADB6B21744; Fri, 7 Aug 2020 15:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596813879; bh=MYuQqoMFVxzRIi+Ns8NKI4SRbBu+5QOTi8qefsLQM2c=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XUlKlHjqjAy1Bn5qyhlXLIOu78vQQO5G+DKLPZ2xiIHpb0RZVoxuq6tHK5WlGpvS0 0tlTTUADwC/rIO2Vl/un4bp/ivj/4En8wtmjm/mqCGB8KZlC1hMA+I/EaxH2hPmrfC MYfCCYQnyejk+DMA1NaEbgACCzFt/VuWS9lFLGJg= Date: Fri, 7 Aug 2020 08:24:37 -0700 From: Jakub Kicinski To: Srujana Challa Cc: , , , , , , , , , Subject: Re: [PATCH v2 2/3] drivers: crypto: add support for OCTEONTX2 CPT engine Message-ID: <20200807082437.246a9f1c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <1596809360-12597-3-git-send-email-schalla@marvell.com> References: <1596809360-12597-1-git-send-email-schalla@marvell.com> <1596809360-12597-3-git-send-email-schalla@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, 7 Aug 2020 19:39:19 +0530 Srujana Challa wrote: > Add support for the cryptographic acceleration unit (CPT) on > OcteonTX2 CN96XX SoC. Please address the W=1 C=1 build warnings ../drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c:475:51: warning: cast removes address space '__iomem' of expression ../drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c:158:39: warning: incorrect type in assignment (different address spaces) ../drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c:158:39: expected void *lmtline ../drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c:158:39: got void [noderef] __iomem * ../drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c:161:37: warning: incorrect type in assignment (different address spaces) ../drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c:161:37: expected void *ioreg ../drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c:161:37: got void [noderef] __iomem * ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:394:22: warning: cast to restricted __be32 ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:394:22: warning: cast to restricted __be32 ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:394:22: warning: cast to restricted __be32 ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:394:22: warning: cast to restricted __be32 ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:394:22: warning: cast to restricted __be32 ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:394:22: warning: cast to restricted __be32 ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:1025:23: warning: cast to restricted __be32 ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:1025:23: warning: cast to restricted __be32 ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:1025:23: warning: cast to restricted __be32 ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:1025:23: warning: cast to restricted __be32 ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:1025:23: warning: cast to restricted __be32 ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:1025:23: warning: cast to restricted __be32 ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:1887:29: warning: incorrect type in assignment (different base types) ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:1887:29: expected unsigned short [assigned] [usertype] opcode ../drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:1887:29: got restricted __be16 [usertype]