Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1083315imm; Fri, 14 Sep 2018 10:54:03 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbmNihd2KajIbe9hjOW3zbphLlC9Dslfx86k6aQO/l924iWwErJFnZLNcBe9kb+P/NBtRTW X-Received: by 2002:a63:5c5d:: with SMTP id n29-v6mr13045681pgm.253.1536947643251; Fri, 14 Sep 2018 10:54:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536947643; cv=none; d=google.com; s=arc-20160816; b=Su479LE9XybOxU5muCstdvamxcyxEp45aVDPgvS85Z5Iy0cw2Jf13lzL7v9D8H7knF fR0sfOINp8waqiloyU/cwZOEK1bjEwvTSkUG+zDJ1U6Yl9k4w0Qnq4Qkh5OlylQiIQcS r3qpeq1EP40oGVobBhFh4lgGWJNAKxtCVV40d0V0YjGd6sPl8WavXrYk3NGR87+9FH1+ lmeGUOPbkIxEK4wUmJXdjt7ae+ClbbNQqcBNYn4Crjj3fsP2Nzh0Tp+/8Dqvt9ywvPq3 hFzVzHx7DYrKmMgfpKznJ0LJs8t1kJ2vjT1M4Qh83v6grzpZgV6ReOd2NxF2dQIJaOaO Gydw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=G25UCWm4mMz33+eKUPKhs6JGwqVkqzCk8I3cSuz0GoE=; b=e/kHfAHhYrbJ567FQqeTK4EoQ8bPSwvazJJz9gkT67zQpUWAzSVqmqVg1nKOk7JFnj mag8YaXqxKh//PgaagDGO7RoUOEQnv2E/aKv0LhFbDproWj5g7VJF1HwMhfRrcb3mT4s sfqtkk1DBI479TJZCarWdgUOEHEnrhVxdM/B/tp5cImDhwd1GJsATW07goFMTzS0GGPm UDw5XHPyrdnZxyWt+TVmuuEPUzNBFS/4tHoWHyDoHfSDNujV7JLWYQ5mTDKeiedHaMUf hUbV8Q+svKHWgq24qXW62AqfjJcJPvIwQTiFoUBGdp4bTMNENNq38595IywO6z5HkmLn 8i+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=fVf1b9fP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u4-v6si7862373pgk.371.2018.09.14.10.53.48; Fri, 14 Sep 2018 10:54:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=fVf1b9fP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728527AbeINXIs (ORCPT + 99 others); Fri, 14 Sep 2018 19:08:48 -0400 Received: from mail-qt0-f202.google.com ([209.85.216.202]:50469 "EHLO mail-qt0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726891AbeINXIr (ORCPT ); Fri, 14 Sep 2018 19:08:47 -0400 Received: by mail-qt0-f202.google.com with SMTP id e14-v6so7731661qtp.17 for ; Fri, 14 Sep 2018 10:53:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=G25UCWm4mMz33+eKUPKhs6JGwqVkqzCk8I3cSuz0GoE=; b=fVf1b9fPITq9RTWj+mSp2sGeigS4UK1ThbKRs8va5jR4CRz4YbtJ8z5fy8iGjQKwjc OgYFfPsOVmksQQ+DXT/QUH6evzTz9pZbcGbnKLhwkyw7IIQHBzRsu0Fgum+o4g2Di8wC f4oRxhcjkgTnp01Cs+IumsNgPJJfMLdVTVnk/2vYuAmyeWk7TcOkRgGNKm2CEbutUie3 czNYczfP9Ni6TUSCDnjsT13M5DmLMg2C2wTzal3XUXyIvmHHeA2wNpwoSJgphTzvcFBk JszKCqDiklix30RY1zWCdqwCEelVQ3e1nQ7sjuisffB3npHpa0YrSks78EhqT98TbZNZ gNbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=G25UCWm4mMz33+eKUPKhs6JGwqVkqzCk8I3cSuz0GoE=; b=Vj2NlGFTqec4tUdKCykn09U43ZeG1EcZCx/VPNYqYKAzWYCO0ud9z7Pz6ajS+qgAh+ 2WUTok9H7veBjhT8/P3fzoRQU083/76YW5mp8RvyEAInDsT55r6ZJZb7Cg6EVy3+zARb p+659i0Mg6UuGSc4r3Rm5hpboprbsVHVGOdAr5D9/OueN0jjL5P6t5dIXmjzebr45WOA ddi/igv1n32+66q+OZMld4tuhDvN9YnbQk8o27vCbgMNoAklLSn4/NLi5bIP5pq406bK 2Mfi8TUDRynnuJ3pBkTquvYixJQFIWUDSgFex4s3Ik4PSZOQqmDNrj4iFUDbu5AxYLVD KHGg== X-Gm-Message-State: APzg51C+vYlN8XQKhaFFtO1XT6hGU2CKsoNWodmwBdO/FEl2dgaWJKUA 4fwtlvmFjhgFXUw/LJZ1qyZzVZ+y X-Received: by 2002:aed:2452:: with SMTP id s18-v6mr4261542qtc.20.1536947593614; Fri, 14 Sep 2018 10:53:13 -0700 (PDT) Date: Fri, 14 Sep 2018 10:51:21 -0700 In-Reply-To: <20180914175122.21036-1-rkir@google.com> Message-Id: <20180914175122.21036-20-rkir@google.com> Mime-Version: 1.0 References: <20180914175122.21036-1-rkir@google.com> X-Mailer: git-send-email 2.19.0.397.gdd90340f6a-goog Subject: [PATCH 20/21] platform: goldfish: pipe: Remove redundant casting From: rkir@google.com To: gregkh@linuxfoundation.org Cc: tkjos@google.com, linux-kernel@vger.kernel.org, Roman Kiryanov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roman Kiryanov This casting is not required. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index e45e262517a0..f6c144e71c30 100644 --- a/drivers/platform/goldfish/goldfish_pipe.c +++ b/drivers/platform/goldfish/goldfish_pipe.c @@ -103,7 +103,7 @@ static int goldfish_pipe_probe(struct platform_device *pdev) * reading device version back: this allows the host implementation to * detect the old driver (if there was no version write before read). */ - writel((u32)PIPE_DRIVER_VERSION, base + PIPE_V2_REG_VERSION); + writel(PIPE_DRIVER_VERSION, base + PIPE_V2_REG_VERSION); version = readl(base + PIPE_V2_REG_VERSION); if (version < PIPE_CURRENT_DEVICE_VERSION) -- 2.19.0.397.gdd90340f6a-goog