Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6200122imm; Mon, 27 Aug 2018 11:26:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaHVymJ7/DKiQU+cbiKfhdI6l5nsNMrclCbhVkTP2QsJTq1rTMEuNe/a+TOpKILxoRiT/g7 X-Received: by 2002:a62:1219:: with SMTP id a25-v6mr15422248pfj.104.1535394360422; Mon, 27 Aug 2018 11:26:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535394360; cv=none; d=google.com; s=arc-20160816; b=n4ZCIOa4q1rkHm1ezSOGRheKwL/Jf3xuc2Y3mLG28UVR6DyKoV0FKxKd5QkQjoyux/ jwLi7mf4atZLSRRGSN8OJdMUo4jMLIFueeROIjiQ84uPe8HL0+1F2s1luy0L5XePMzXE fmDf8pLtQ+zoh/5ruG6SJu4NovQ0G6s3F7L9OerHHwKgd9TzhiEHUpNSdKpQ8SsplAhW 8dWDBAV/QKmlYJcV05hniTpN/XxeO3QwFbRmG6LkR682QcYihba2tvTn8XcbWHqdfI1R Ao2++AHh5/Rhqq8xBni6/AqoxT2G7o2J7hUVjOkgWVZQo8CQ19SGs5PoJMuIy2bFGxZr Y52w== 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 :arc-authentication-results; bh=dH2DI1fRkDG1D5VXKEAsoAEVHFSG0wnaqoGIpPQaA1E=; b=cM40+t7eoijfrKnHfqE9UDo3kyRcAKK0JSRrQ8ehEQjEy0ei7UVR4NMS1lyJ9OmIJ0 isfEzyrYfhY3qHS/oPaOP85Zc1Baa4u7ILexlUCm6zuah/L9cES1iXGUxj9gPEqUStGH vQCchaDyy8oHih+xu4yN4RnJ4KezlyoqN3cE+x8jn8eNcwQM3ZRZMWpEiDdQTeG3PArd eNPLHA8NjKIbgi0TYtcnChAc9vdZhHMDA6qmhYRD31/uVFugnUbhRcEXfECNeDLCdAZg KZxVtYBKRq1BbSzCiXP+fZfnVaIpMh5cw9HzI2qrGcZOGndme31KEYgkgjWOE5K1CnBw EAfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=o+MiC73q; 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 m1-v6si2064886pgq.584.2018.08.27.11.25.45; Mon, 27 Aug 2018 11:26:00 -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=o+MiC73q; 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 S1727716AbeH0WLw (ORCPT + 99 others); Mon, 27 Aug 2018 18:11:52 -0400 Received: from mail-io0-f201.google.com ([209.85.223.201]:33740 "EHLO mail-io0-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726895AbeH0WLv (ORCPT ); Mon, 27 Aug 2018 18:11:51 -0400 Received: by mail-io0-f201.google.com with SMTP id s14-v6so14824176ioc.0 for ; Mon, 27 Aug 2018 11:24:10 -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=dH2DI1fRkDG1D5VXKEAsoAEVHFSG0wnaqoGIpPQaA1E=; b=o+MiC73qgxLsZorSUsx3RZRmQ43q05mPoMbfcFJJrMa+SkH8VqlTOJKzBr/PeceSZB BF1z+pe7v+382BAetPmKbYg92Xhr58E1qgxj9EAFPI5Yq7qf7zitt2KsclSGUMMapM+j ODf4ctKXY2aydDnPDsHqXNPxFanH+UUJaVLf1NqJigs1BW+HYhuBJEgUSWHDUNuU1N+9 2ucwtZvmUI9MXXsU0oHg/b3hJbE9GaXmTPR6YpmfRcRrGwlATfPZEh6Z9aQ4uTKKOZpu WD6IU5BbXXaWl1sQMbAGWAO2f2hhlWQXGS2tStJvmRN6Vm7n0m4siQKdaoMCXFnieK/k Vl6A== 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=dH2DI1fRkDG1D5VXKEAsoAEVHFSG0wnaqoGIpPQaA1E=; b=CpKdp+nn+c47YebkgxxQuL4nXyo5THMfMff9AnPn4PJPmt+o59nuvRdMFnWS/RLBvh 1L0Ycu0Xph+I4Vc9jRueXU0bqy12u5Wg/hh0Gm4/gscMJUUITQPPstu3AnpFwhsepZ40 80ucb93WOnEB9vb7+ZWjINT3vWP0guW2XV3g339nveVNS1bfaqJ43SVBHRrnO2RDYq+M +AxRSxRGv+8yiq5SHjo/rtXYlJOTqFXJOwy8unRPk20n88qLlUGnv1fSC+OUJ13bs4JS 4goOFN7w/HM5qMVBRi0cc9OqZnJ5CO7rjkPJWxFJJQYfeGiix6qJaRZvCT5fBEMjUcVb t5ig== X-Gm-Message-State: APzg51CtAoQRsaLIzIOBKiiw4+mChCY7B0t5vUgL4iMUoQNv4YmhACGL 8Q7vZl3KcV/HksZdZ4s6S7cKxLMq X-Received: by 2002:a6b:20ca:: with SMTP id g193-v6mr6233325iog.116.1535394249794; Mon, 27 Aug 2018 11:24:09 -0700 (PDT) Date: Mon, 27 Aug 2018 11:23:07 -0700 In-Reply-To: <20180827182315.126345-1-rkir@google.com> Message-Id: <20180827182315.126345-12-rkir@google.com> Mime-Version: 1.0 References: <20180827182315.126345-1-rkir@google.com> X-Mailer: git-send-email 2.19.0.rc0.228.g281dcd1b4d0-goog Subject: [PATCH 12/20] platform: goldfish: pipe: Remove reduntant casting From: rkir@google.com To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, tkjos@google.com, 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 Casting to u32 is not required here. 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 e3c09ff7867a..ff0e150d15d5 100644 --- a/drivers/platform/goldfish/goldfish_pipe.c +++ b/drivers/platform/goldfish/goldfish_pipe.c @@ -828,7 +828,7 @@ static int goldfish_pipe_device_init(struct platform_device *pdev) dev->base + PIPE_REG_SIGNAL_BUFFER, dev->base + PIPE_REG_SIGNAL_BUFFER_HIGH); - writel((u32)MAX_SIGNALLED_PIPES, + writel(MAX_SIGNALLED_PIPES, dev->base + PIPE_REG_SIGNAL_BUFFER_COUNT); write_pa_addr(&dev->buffers->open_command_params, -- 2.19.0.rc0.228.g281dcd1b4d0-goog