From patchwork Wed Jun 17 11:24:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 6624371 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BAEDE9F326 for ; Wed, 17 Jun 2015 11:27:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DDDA8208E3 for ; Wed, 17 Jun 2015 11:27:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 03A2A208E8 for ; Wed, 17 Jun 2015 11:27:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756300AbbFQL1u (ORCPT ); Wed, 17 Jun 2015 07:27:50 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:34673 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754479AbbFQLZd (ORCPT ); Wed, 17 Jun 2015 07:25:33 -0400 Received: by pdbki1 with SMTP id ki1so37685082pdb.1; Wed, 17 Jun 2015 04:25:33 -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=ZMIGPI2ziYDD9y5t0cD+iW4DTMTxXJdFSA3Ss9+6qACG39t/yAhpsnUG7OEfxkjvip vhxHUzu6QwFgZnYeAEbmI8u+MzsJ/wV4xL1cCCFs5K5RDA/IlFaWnC6lOFP7w5TtlFd8 ZQdCBeDx4aaEx4l7Otc5vuyfR2FBKoPDvZ18nE/lmyED8iEP5Jpe1VKGx0XiXLZI5bYD vvOv4AsMdjRJ0lJSz5mI46+e2n6XoYNZM3SPTqaZevzBQLBiKZFriiFgLEbSFZJip7yD lOpYPkpFhMMEDA8pRoDzkjtfe3OrCDH4m/Pb2gWeS9lq+nsN5R19KUIGO6BLhZcc33ie lQzg== X-Received: by 10.68.205.196 with SMTP id li4mr9980539pbc.122.1434540333269; Wed, 17 Jun 2015 04:25:33 -0700 (PDT) Received: from localhost.localdomain ([122.169.132.132]) by mx.google.com with ESMTPSA id zx1sm4367679pbb.73.2015.06.17.04.25.29 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Jun 2015 04:25:32 -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 v2 4/9] staging: sm7xxfb: no space after cast Date: Wed, 17 Jun 2015 16:54:43 +0530 Message-Id: <1434540288-8289-5-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1434540288-8289-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1434540288-8289-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.6 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); }