From patchwork Tue Oct 29 23:22:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriela Bittencourt X-Patchwork-Id: 11218757 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 11B9B1390 for ; Tue, 29 Oct 2019 23:22:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E294A2083E for ; Tue, 29 Oct 2019 23:22:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Iyhf2LDw" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726271AbfJ2XWZ (ORCPT ); Tue, 29 Oct 2019 19:22:25 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:34795 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725880AbfJ2XWZ (ORCPT ); Tue, 29 Oct 2019 19:22:25 -0400 Received: by mail-qk1-f196.google.com with SMTP id c25so757457qkk.1; Tue, 29 Oct 2019 16:22:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3hCkAbcriS9RlIsXdXAS7BOo4yVJsRg6vFvTMkZt0zA=; b=Iyhf2LDwrJ7hlSqQSnW+N75bzt41kj0wuqTEQk9se2IajbQTHLaDrxokn885sBN/SG QDs82ykMG2hcooPX+0+ClpV4v1Ckjo55y7ad0Nb457PVcWBoxsnCaL+hsHY+Nw3mgEXr jMx1I0D+pYVWIxa1C7cyLlfvHslI05QVnR+tnEjLlg4E3pybl3tLLoSecAboypaGK8fB K90T5UU6H2/71o1vDPdKH6AOR6BD9TFqGT88AWiPU9C8Qk2XwxC3oU5EjMhQtztPIlFq R7sSGwM9Z7gqLUxhL/OBEt3OcC88zSqQj23cH4185GKtF5GmX5FPgTgvIB1hC2fpNg3H Y6Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3hCkAbcriS9RlIsXdXAS7BOo4yVJsRg6vFvTMkZt0zA=; b=bi2wI+ToJuriqoApu1pkyiy8IdnJRkvha6CjmPh50UKqgKf/oMD3OdtAzBLHVGEYeF zszq8jfMHjN5rB9cgov70g+nHUbO2fkC8w6tpO8qKwwoPHPSo7PQf5INJgBhBLCDU+Wa Z6mbbbFdlQL4tw50XqbeT8QBUeu2jdTBcbYjvOAwIVaeMrb5UP0RarU6uXL8R0mb6Rp0 O6R5mAa4FGMdbD5EPjCHSoEVgxSP7NXaXPbkBNZMjf3e+zWK49WH5inMr9FSiCY1Guf2 hu12uCMQMnz9VBaW+mWqLIsmkfRNLxBGDsj1YYXsMV73TtFsTS18kBPUvzwOeIjRcGst 9Y9w== X-Gm-Message-State: APjAAAXQT/gY+eUGlCBjjr2jcY8/2qLvt2fqx6SHKLi+zY/l4Ne5RR/w bwr2WguKqnlsaaOYv/+OKVI= X-Google-Smtp-Source: APXvYqydRj+JqzSe1lo8kT/qY5ObG6pT9Xzay4uNdB8RCD9jFojCS6cRXQU0KLWJdH2LeYyf9N/rwA== X-Received: by 2002:a37:6891:: with SMTP id d139mr24311946qkc.213.1572391342722; Tue, 29 Oct 2019 16:22:22 -0700 (PDT) Received: from GBdebian.ic.unicamp.br (wifi-177-220-85-136.wifi.ic.unicamp.br. [177.220.85.136]) by smtp.gmail.com with ESMTPSA id a18sm633940qkc.2.2019.10.29.16.22.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 16:22:22 -0700 (PDT) From: Gabriela Bittencourt To: outreachy-kernel@googlegroups.com, sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, lkcamp@lists.libreplanetbr.org, trivial@kernel.org Cc: Gabriela Bittencourt Subject: [PATCH 1/2] staging: sm750fb: Fix typo in comment Date: Tue, 29 Oct 2019 20:22:06 -0300 Message-Id: <20191029232207.4113-2-gabrielabittencourt00@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191029232207.4113-1-gabrielabittencourt00@gmail.com> References: <20191029232207.4113-1-gabrielabittencourt00@gmail.com> MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Fixing typo in word 'and'. Signed-off-by: Gabriela Bittencourt Acked-by: Julia Lawall --- drivers/staging/sm750fb/sm750_accel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/sm750_accel.c b/drivers/staging/sm750fb/sm750_accel.c index 645813a87490..5925d7c7d464 100644 --- a/drivers/staging/sm750fb/sm750_accel.c +++ b/drivers/staging/sm750fb/sm750_accel.c @@ -224,7 +224,7 @@ int sm750_hw_copyarea(struct lynx_accel *accel, /* * Note: - * DE_FOREGROUND are DE_BACKGROUND are don't care. + * DE_FOREGROUND and DE_BACKGROUND are don't care. * DE_COLOR_COMPARE and DE_COLOR_COMPARE_MAKS * are set by set deSetTransparency(). */ From patchwork Tue Oct 29 23:22:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriela Bittencourt X-Patchwork-Id: 11218759 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D5A9A1515 for ; Tue, 29 Oct 2019 23:22:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B2A4720874 for ; Tue, 29 Oct 2019 23:22:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BNZPLsM/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726266AbfJ2XW3 (ORCPT ); Tue, 29 Oct 2019 19:22:29 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:41823 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725880AbfJ2XW2 (ORCPT ); Tue, 29 Oct 2019 19:22:28 -0400 Received: by mail-qt1-f193.google.com with SMTP id o3so620891qtj.8; Tue, 29 Oct 2019 16:22:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NL5NHkQo49SzWvXcG4GM9cxAAP6UXPgbkUHRM9GwPRM=; b=BNZPLsM/pFTx/j8tsrlHokltVoy7lphtIngmNZpMI7tw7cLyH+x1Og5Vgy0PKhIRck +REO+9To7CtKlPkEIDVjccdwXUWJTlJNGr/cGUPguD838pybkp3K5eu0Tgt+CGGBSI7g 94gPtvnJJszTMW58jNGi8VxZEG6Ikrv65kQzvWnyoJTi4enJoykJL5zCXe4KzHlhVUXt RC8d8W32ZWzNmI1UCnDKCQN/m1JONdnt8sIFpK4JfvrA47FuKMr+zgvg2ux5ym41wzUd aYBIhelWxNe+xOlF7jwb+bmMepE/jN2ZxbiTEwAZImGODD6m/MXYViD8tEBpxvbamKHD 9TMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NL5NHkQo49SzWvXcG4GM9cxAAP6UXPgbkUHRM9GwPRM=; b=UVeO5Os15oQ9VAzIDvZyOVTizRZ5cqjwuK/IFNsRfVfPyOKGfHjDu9fRJNKeK3Yj/o uphskCIAiWPdXMXuRvoQkgNySD++cLRknbtmktHExl0Mj2pUd602fhau1fdaw6/HydzA UjYSfehHqsqTzxe39SO9IYhfcFnPbY+QEsnFywi3EUkaHRhFUIx59zsEK3/OcetQ8xFR 6Uh+lg8RDeykwtavhHg4VJyDMaAx1Itkox2cxOzxKpZVjsGmQOygzQ0XrJZmT1EqJ1qm ZVnwcd8L9fQ7eHOvOn1TkJpOd1CmZKM/iADdBWCCQ8acR7upjNJJc1/5dlxUWfNR/TMl V2sg== X-Gm-Message-State: APjAAAXYRmz2nWjlyH5LsLaSBF4gO1Rf4OlCoy3N5XnOc09jfxiFWnfR wtQzF8gFJm2gwCvelLuOWG4= X-Google-Smtp-Source: APXvYqzQxW5G8EXq8zMyuMWTrYVdA+nHFpY0Mk0GHbknCXVXGWlpjdvhbi2ZPPAhch3mQfE6x+0ZAA== X-Received: by 2002:ac8:117:: with SMTP id e23mr2054008qtg.82.1572391347698; Tue, 29 Oct 2019 16:22:27 -0700 (PDT) Received: from GBdebian.ic.unicamp.br (wifi-177-220-85-136.wifi.ic.unicamp.br. [177.220.85.136]) by smtp.gmail.com with ESMTPSA id a18sm633940qkc.2.2019.10.29.16.22.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 16:22:27 -0700 (PDT) From: Gabriela Bittencourt To: outreachy-kernel@googlegroups.com, sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, lkcamp@lists.libreplanetbr.org, trivial@kernel.org Cc: Gabriela Bittencourt Subject: [PATCH 2/2] staging: sm750fb: Replace multiple spaces with tabs when it suits Date: Tue, 29 Oct 2019 20:22:07 -0300 Message-Id: <20191029232207.4113-3-gabrielabittencourt00@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191029232207.4113-1-gabrielabittencourt00@gmail.com> References: <20191029232207.4113-1-gabrielabittencourt00@gmail.com> MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Replace multiple spaces before some comments with one tab. Aligning the comment with the function below it. Signed-off-by: Gabriela Bittencourt --- drivers/staging/sm750fb/sm750_accel.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/sm750fb/sm750_accel.c b/drivers/staging/sm750fb/sm750_accel.c index 5925d7c7d464..8faa601c700b 100644 --- a/drivers/staging/sm750fb/sm750_accel.c +++ b/drivers/staging/sm750fb/sm750_accel.c @@ -243,21 +243,21 @@ int sm750_hw_copyarea(struct lynx_accel *accel, */ write_dpr(accel, DE_WINDOW_DESTINATION_BASE, dBase); /* dpr44 */ - /* - * Program pitch (distance between the 1st points of two adjacent lines). - * Note that input pitch is BYTE value, but the 2D Pitch register uses - * pixel values. Need Byte to pixel conversion. - */ + /* + * Program pitch (distance between the 1st points of two adjacent lines). + * Note that input pitch is BYTE value, but the 2D Pitch register uses + * pixel values. Need Byte to pixel conversion. + */ write_dpr(accel, DE_PITCH, ((dPitch / Bpp << DE_PITCH_DESTINATION_SHIFT) & DE_PITCH_DESTINATION_MASK) | (sPitch / Bpp & DE_PITCH_SOURCE_MASK)); /* dpr10 */ - /* - * Screen Window width in Pixels. - * 2D engine uses this value to calculate the linear address in frame buffer - * for a given point. - */ + /* + * Screen Window width in Pixels. + * 2D engine uses this value to calculate the linear address in frame buffer + * for a given point. + */ write_dpr(accel, DE_WINDOW_WIDTH, ((dPitch / Bpp << DE_WINDOW_WIDTH_DST_SHIFT) & DE_WINDOW_WIDTH_DST_MASK) |