From patchwork Tue Jun 16 13:42:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 6618121 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4546AC0020 for ; Tue, 16 Jun 2015 13:43:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 69B1220604 for ; Tue, 16 Jun 2015 13:43:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 84F73205E2 for ; Tue, 16 Jun 2015 13:43:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755977AbbFPNnu (ORCPT ); Tue, 16 Jun 2015 09:43:50 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:34398 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756563AbbFPNmh (ORCPT ); Tue, 16 Jun 2015 09:42:37 -0400 Received: by pdbki1 with SMTP id ki1so14798320pdb.1; Tue, 16 Jun 2015 06:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5Sch1PoBON4h33RnP2d01UUZBOcX+mJbHTQvaA1D590=; b=iHmxe3G1lOmXuESoORUH7sEbUFO2/bz6/rQ9x5JOBiCtm70afRC4vY21STBONcpUBX ci7Y5A9eCMUJtUghqq0aXDw43TEtrZvoe3NKmorhSjhnUkvGTvNw9U8DRK1350cl/o+l n8Wjs6TGm3JzX13Dz0zhWUIvjqMQya/Ge1gjfZw8PaFvgF65SN2SqCrwHcREMy58i5Z4 CaQY5b9jR/ndoaE4XOePfmoSDOW4QCZC+FQOR1OZzBvUFmcMru2klr7Is3yuUKagUxgy 4lXrnD6kQvNtWRY+IruJCdCu9GOHPFPw3lXjSRFqcjGglnb8LTFf0u8m7q/Rw7aIneK9 1A+A== X-Received: by 10.66.66.166 with SMTP id g6mr651695pat.157.1434462156386; Tue, 16 Jun 2015 06:42:36 -0700 (PDT) Received: from localhost.localdomain ([122.169.132.132]) by mx.google.com with ESMTPSA id w4sm1521423pdl.7.2015.06.16.06.42.33 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Jun 2015 06:42:35 -0700 (PDT) From: Sudip Mukherjee To: Greg Kroah-Hartman Cc: linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Joe Perches , Sudip Mukherjee Subject: [PATCH 4/8] staging: sm7xxfb: no space after cast Date: Tue, 16 Jun 2015 19:12:07 +0530 Message-Id: <1434462131-15191-4-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1434462131-15191-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1434462131-15191-1-git-send-email-sudipm.mukherjee@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_WEB, RP_MATCHES_RCVD, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP fixes the checkpatch warning about using space after typecast. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm7xxfb/sm7xxfb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index f18fef9..c832399 100644 --- a/drivers/staging/sm7xxfb/sm7xxfb.c +++ b/drivers/staging/sm7xxfb/sm7xxfb.c @@ -336,7 +336,7 @@ static ssize_t smtcfb_read(struct fb_info *info, char __user *buf, size_t if (!buffer) return -ENOMEM; - src = (u32 __iomem *) (info->screen_base + p); + src = (u32 __iomem *)(info->screen_base + p); if (info->fbops->fb_sync) info->fbops->fb_sync(info); @@ -422,7 +422,7 @@ smtcfb_write(struct fb_info *info, const char __user *buf, size_t count, if (!buffer) return -ENOMEM; - dst = (u32 __iomem *) (info->screen_base + p); + dst = (u32 __iomem *)(info->screen_base + p); if (info->fbops->fb_sync) info->fbops->fb_sync(info); @@ -568,7 +568,7 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb) writel(0x00030000, sfb->vp_regs + 0x0); break; } - writel((u32) (((m_nscreenstride + 2) << 16) | m_nscreenstride), + writel((u32)(((m_nscreenstride + 2) << 16) | m_nscreenstride), sfb->vp_regs + 0x10); }