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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4D180C433EF for ; Mon, 4 Apr 2022 11:00:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=72H4dwmCF3yCRk1NqN5puODRVpix7b1NS+a6x9gJOl0=; b=Ury/Ui3BMSzuZb BqyMUbc3dw8FJFaZlivLuQYNEwtsQeYk2JyitG6lMPGzsbevWi6h+Oc2j6JocuyqhHjOtzujdEkwb 5zSW30B0ya6v0VwPrUiWujlWi+WCQJAQL2719Wn9A9cRJzMUoPVrlpoiXib/Wvf+mNDwRJbr9suK/ ADNazSyoHaHDRdUpvFsepXxUw/5wCXlYTtJKTJOvorjHCgnvRBssHQ+tk7eH6bdKSilVctRReRc5s IIJytaftdu2OY/xwePawGHIcLGm218rM0pnhGeRlaqKp5chXkuMJuYEMBCWqLWhU3YHlocYiaQTJ6 tQiwiWPcPJZfz9vOsd2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nbKR2-00Eebz-1K; Mon, 04 Apr 2022 10:59:48 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nbKQx-00Eeai-Em for linux-arm-kernel@lists.infradead.org; Mon, 04 Apr 2022 10:59:44 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 02D2AD6E; Mon, 4 Apr 2022 03:59:42 -0700 (PDT) Received: from bogus (unknown [10.57.43.163]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DF1873F718; Mon, 4 Apr 2022 03:59:40 -0700 (PDT) Date: Mon, 4 Apr 2022 11:59:38 +0100 From: Sudeep Holla To: Etienne Carriere Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Cristian Marussi , Sudeep Holla Subject: Re: [PATCH] firmware: arm_scmi: fix incorrect type in optee transport Message-ID: <20220404105938.dfhpniy7sugl5dd4@bogus> References: <20220404101722.27986-1-etienne.carriere@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220404101722.27986-1-etienne.carriere@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220404_035943_586677_D8C729A1 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Apr 04, 2022 at 12:17:22PM +0200, Etienne Carriere wrote: > Correct struct scmi_shared_mem references that should have __iomem > attribute. The issue was reported by kernel test robot: > > drivers/firmware/arm_scmi/optee.c:428:20: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected struct scmi_shared_mem * @@ got struct scmi_shared_mem [noderef] __iomem *shmem @@ > drivers/firmware/arm_scmi/optee.c:440:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct scmi_shared_mem [noderef] __iomem *shmem @@ got struct scmi_shared_mem *shmem @@ > We seem to have crossed each other when we posted this. I hadn't got this patch before I posted. Sorry for that. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel