Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp942061pxb; Wed, 6 Apr 2022 04:57:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDueUGcqFCBp5F7Hy3TwUTT+ocDAW7IwTo7UYWJNy1sAOoIuq/D3mRx1C26RWp+j1jHd0X X-Received: by 2002:a63:4a5d:0:b0:399:5cd:1589 with SMTP id j29-20020a634a5d000000b0039905cd1589mr6829621pgl.22.1649246269718; Wed, 06 Apr 2022 04:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649246269; cv=none; d=google.com; s=arc-20160816; b=kN3NN/3GmVp9kq6ijmKPEPj4C+Yj4wkpYIhgZSCHshU0Jy42LJaXgTPBpO1wnj5S/L Nv1umYjKgvEe3rGeR2kCeYNVc54bE7Rk+hFZ8K9SBV2Gq1carXVpm64hIi8jImsmr5FX znNCurek+ZPbqfm/4D534eSe+2yeTUVTZbzvZMuWnejwTfyQXMJXOf9gAWdgKNlBJzH+ lFuMvuXELHk4IFrlKRNSL0DMgfXLttz6s+aQGX06Su4NYrNJ7XjFjNTO9ytoc8mozQWB 33p/jIL5jg/BmWFzrB6FVDW9qt+ItwuU7NlZezgjMdX3Tm4yymtHPLyVIS//+66XyoIo gZtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dNXw6d5zCepvvUtff/0yDuZlGJi3m+lIc7jG/sQejn0=; b=hmEnJzL16JawoONTtE6PM6GPFW5XYLY5SBvZBX5gZYnYbc+VOK9476roSDGsiH9+hn tVvTWYrP8wz7urGq7oDy/bDtL/gAJDbdueRHeaObErhQpcKX1/34YaxqvsQGD168as6m Rqf5S3lR29YoHdQnwFpMFveUI2gs4cvzvBFNOKRn9aVAZM1hAcGfaRQCcsOBmJ8IN49u 97B2IH8qNddzoTCn+iXBmP4PCsQBpNKpwvnb8z7VX/bVYPFn65AJOy/wN1yBKghLWYV9 Mk3ZQT833NFDKbOWolJh2Pcp/Dfmtp91mGhkkLrov5NTnd2yaOTb9L39iXep2JMwIiTg 179Q== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q17-20020a635c11000000b0038636202b3bsi15720874pgb.480.2022.04.06.04.57.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 04:57:49 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DF69F6564E7; Wed, 6 Apr 2022 03:20:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1392050AbiDEWJE (ORCPT + 99 others); Tue, 5 Apr 2022 18:09:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1449128AbiDEPtX (ORCPT ); Tue, 5 Apr 2022 11:49:23 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A83371AD1D3 for ; Tue, 5 Apr 2022 07:33:03 -0700 (PDT) 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 B809923A; Tue, 5 Apr 2022 07:33:02 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id CE2D73F5A1; Tue, 5 Apr 2022 07:33:01 -0700 (PDT) From: Sudeep Holla To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sudeep Holla Cc: Etienne Carriere , Cristian Marussi , kernel test robot Subject: Re: [PATCH] firmware: arm_scmi: Fix sparse warnings in OPTEE transport driver Date: Tue, 5 Apr 2022 15:33:00 +0100 Message-Id: <164916896263.1245964.4982099650010775310.b4-ty@arm.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220404102419.1159705-1-sudeep.holla@arm.com> References: <20220404102419.1159705-1-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 4 Apr 2022 11:24:19 +0100, Sudeep Holla wrote: > The sparse checker complains about converting pointers between address > spaces. We correctly stored an __iomem pointer in struct scmi_optee_channel, > but discarded the __iomem when returning it from get_channel_shm, causing one > warning. Then we passed the non-__iomem pointer return from get_channel_shm > at tow other places, where an __iomem pointer is expected, causing couple of > other warnings > > [...] Applied to sudeep.holla/linux (fixes/scmi), thanks! [1/1] firmware: arm_scmi: Fix sparse warnings in OPTEE transport driver https://git.kernel.org/sudeep.holla/c/bf36619a54 -- Regards, Sudeep