From patchwork Sun Nov 8 00:43:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Othmar Pasteka X-Patchwork-Id: 7576531 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 09BE29F1AF for ; Sun, 8 Nov 2015 01:00:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F322E2074E for ; Sun, 8 Nov 2015 01:00:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 74DAF206DC for ; Sun, 8 Nov 2015 01:00:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752421AbbKHA7p (ORCPT ); Sat, 7 Nov 2015 19:59:45 -0500 Received: from fep15.mx.upcmail.net ([62.179.121.35]:58883 "EHLO fep15.mx.upcmail.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751495AbbKHA7p (ORCPT ); Sat, 7 Nov 2015 19:59:45 -0500 X-Greylist: delayed 936 seconds by postgrey-1.27 at vger.kernel.org; Sat, 07 Nov 2015 19:59:44 EST Received: from edge04.upcmail.net ([192.168.13.239]) by viefep18-int.chello.at (InterMail vM.8.01.05.18 201-2260-151-151-20140610) with ESMTP id <20151108004405.RVHH7344.viefep18-int.chello.at@edge04.upcmail.net> for ; Sun, 8 Nov 2015 01:44:05 +0100 Received: from raffael.tron.local ([80.108.122.130]) by edge04.upcmail.net with edge id eokC1r00D2ouYZL01okGjm; Sun, 08 Nov 2015 01:44:16 +0100 X-SourceIP: 80.108.122.130 From: Othmar Pasteka To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, sudip@vectorindia.org, greg@kroah.com Cc: devel@driverdev.osuosl.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Othmar Pasteka Subject: [PATCH 2/2] staging: sm750fb: add spaces around operator Date: Sun, 8 Nov 2015 01:43:31 +0100 Message-Id: X-Mailer: git-send-email 2.5.3 In-Reply-To: References: In-Reply-To: References: 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.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, 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 checkpatch.pl says: CHECK: spaces preferred around that '+' (ctx:VxV) Signed-off-by: Othmar Pasteka --- drivers/staging/sm750fb/sm750_cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c index cab891c..0a41585 100644 --- a/drivers/staging/sm750fb/sm750_cursor.c +++ b/drivers/staging/sm750fb/sm750_cursor.c @@ -143,7 +143,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor, iowrite16(data, pbuffer); /* assume pitch is 1,2,4,8,...*/ - if ((i+1) % pitch == 0) { + if ((i + 1) % pitch == 0) { /* need a return */ pstart += offset; pbuffer = pstart;