From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 657A9C433DF for ; Fri, 7 Aug 2020 15:24:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 398FE22C9F for ; Fri, 7 Aug 2020 15:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596813881; bh=MYuQqoMFVxzRIi+Ns8NKI4SRbBu+5QOTi8qefsLQM2c=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=tEnAvSrw+wiURiFVOMdB1Dsp4qoXMWjwPo76wQsqUX9t93I3XUYkvy9hSRNSJU69j B3IQiYnAIxF9oqaHN+AIrnv3B99niFBB9kYepwy7InLjynWRv3gyzoXL+ZBkHHSAiy lVfeihGBQ5HziGJWiC22ppfbrt80m69tjiaMUWXo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726428AbgHGPYk (ORCPT ); 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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]