Message ID | 293dff86-243d-0f26-d127-79353ea3b7c9@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7CADC6056E for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 5 Dec 2017 22:21:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EFAE24B5B for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 5 Dec 2017 22:21:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63C3428639; Tue, 5 Dec 2017 22:21:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F2BE624B5B for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 5 Dec 2017 22:21:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:References:To:Subject:From:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NAF1cTFqhzutekbO+3MWVZWN8IQZEa8OfszLY4cSJkM=; b=ntHVmXJOSWLbSp PBaBQV3GnsCZt+jvsxXHWdg0YU/mk24jR1JS6qIwuICXay0Uzj4Br7vYtFbPzPLTHzLVwBTnovNrD B19/pEWIQ068jpPZlhn7y83T79tw7swCz+6ufZcD3cDs8DBEMWv5TqABh+mueNOePevnmo943YQPP E28nCeto3bRJHxrZJI56MWFxNmlk/m70f4n9Wy6ionHwo2trVzvxvDB5AyCj6n+ihQIfMGjA44Ydv oJh9Yi7vHpLe2eJNyqfvS2FMT4+dsl2D9hnIxKZoLUZVz8lEZuf7dtZj1esBcMETmbpLHUy6XbpmV R2vCgqozIoRyIENHLkFA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eMLb3-0003Rb-2v; Tue, 05 Dec 2017 22:21:49 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eMLXH-0006zm-Fn; Tue, 05 Dec 2017 22:18:09 +0000 Received: by mail-wm0-x242.google.com with SMTP id r78so4038767wme.5; Tue, 05 Dec 2017 14:17:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=EdEOrWtB6XSRi346ukWIEZo/xid84gNYMbFFfMsbiQw=; b=dbuNvJRFnUAM5xvHvUlNEHiTMECacDYnajNcw4UCbyNE8Ut2zAymLAk5SV/T2cSKDF bvpu0qFXDgFGRdJenxQ6nj+UN/4sSzfwF1e/xqQDmwai+VPAudhjITnWxWQB8vN1l1Oy Yyj8ulscDQ+SI36+XrckBzpnpsIXdqEUz1sPdbAX9VcgDjOIQx7WWEV8qztlmPqBmvoU x5KkE60J4I73M1I9/+RU5ph91Mz4l2pUYYlT53LF8cuMht7LJCe0L4SH/bPHNRi89mtO fBAJJuhToWWOm9Ql4tTjFCj7RI8w6rdu0locDqrZtDoQs+vNWUSjvug8oVlmz40Yqikh GwoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=EdEOrWtB6XSRi346ukWIEZo/xid84gNYMbFFfMsbiQw=; b=SghYLlOawj8u4/F+yVIumeKLeXRn4yXZP9eQNKAyyG9zS+GpSpjyknt5tXeMUyJstB g2wr662f5GjAnXK5Y9oUKoN/Ko4QJ+vusYYY7vWIGiFJxq47dvHxUlptsmbVGWvCK3BB zy5SEW3n0bVc1tl3BszJWD12QwU3hycmUJUQ30RRVnCxu7csUbA4TR8aDt3cwn5AeHAL 4ifI5TYR3GixT3vt58XG3JOdTzRw3C8KQ9DzycE77HFz05sgwlWEsrlhnkFxL/KqUoPO +yaOnbTM0SXFzal85S95jYoTnmZZ6ALVkrh9CHoVJaCLDuqEhmBS11Tjzvs+1y795uaT R4bw== X-Gm-Message-State: AKGB3mJDeiHh7W32Gyssv3X92zSQ+vxuJcIJF/wYMTzKM6G/TMtu+Zm/ aXAQko8khVCxBsaKku1/rkabAw== X-Google-Smtp-Source: AGs4zMYpv1le7Ijhp2ysM0bg4/tdgEe80QBaLUQEl6r5afauLlcTEnNb7k31HyDdm9KBxA5t9OHTwA== X-Received: by 10.28.1.196 with SMTP id 187mr8948747wmb.151.1512512254671; Tue, 05 Dec 2017 14:17:34 -0800 (PST) Received: from ?IPv6:2003:ea:8bc0:e400:b595:9d9d:56de:88e3? (p200300EA8BC0E400B5959D9D56DE88E3.dip0.t-ipconnect.de. [2003:ea:8bc0:e400:b595:9d9d:56de:88e3]) by smtp.googlemail.com with ESMTPSA id j59sm1268489wrj.77.2017.12.05.14.17.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 14:17:34 -0800 (PST) From: Heiner Kallweit <hkallweit1@gmail.com> Subject: [PATCH 07/12] firmware: arm_scpi: drop unnecessary type cast to scpi_shared_mem To: Sudeep Holla <sudeep.holla@arm.com> References: <99220c79-8b35-2978-11d1-6d101ccb6772@gmail.com> Message-ID: <293dff86-243d-0f26-d127-79353ea3b7c9@gmail.com> Date: Tue, 5 Dec 2017 23:17:03 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <99220c79-8b35-2978-11d1-6d101ccb6772@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171205_141756_138171_98B1F28C X-CRM114-Status: UNSURE ( 8.09 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: "open list:ARM/Amlogic Meson..." <linux-amlogic@lists.infradead.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, Kevin Hilman <khilman@baylibre.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/firmware/arm_scpi.c b/drivers/firmware/arm_scpi.c index 4447af48..e02d5820 100644 --- a/drivers/firmware/arm_scpi.c +++ b/drivers/firmware/arm_scpi.c @@ -453,7 +453,7 @@ static void scpi_tx_prepare(struct mbox_client *c, void *msg) unsigned long flags; struct scpi_xfer *t = msg; struct scpi_chan *ch = container_of(c, struct scpi_chan, cl); - struct scpi_shared_mem *mem = (struct scpi_shared_mem *)ch->tx_payload; + struct scpi_shared_mem *mem = ch->tx_payload; if (t->tx_buf) { if (scpi_info->is_legacy)