From patchwork Tue Jun 23 05:45:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sedat Dilek X-Patchwork-Id: 6658861 Return-Path: X-Original-To: patchwork-intel-gfx@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 731A39F399 for ; Tue, 23 Jun 2015 05:46:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 86FF9205BA for ; Tue, 23 Jun 2015 05:46:03 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 79FC5205B9 for ; Tue, 23 Jun 2015 05:46:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 89E3A6E1D3; Mon, 22 Jun 2015 22:46:00 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by gabe.freedesktop.org (Postfix) with ESMTP id 401016E1D3 for ; Mon, 22 Jun 2015 22:45:57 -0700 (PDT) Received: by wgck11 with SMTP id k11so30967094wgc.0 for ; Mon, 22 Jun 2015 22:45:56 -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; bh=BdGZTVvSiDuDAS1/rQWWdWjE1RClvtbFP+Iqt+yxNio=; b=UCKLIIDHzTrnzFvUbcudK2hrjxkF4sRejRbvvsn2uO0xPi1smNWZqHdGoNk0qGyPeF ZvKhbFfVg0HFYBaVPeLWJJ7rjgj1Z5scbBxBMM9aNd9eldqmBvzjNfZeR3rx2SuhIv8p cfcwMPIznQr1ujMac7PBjm9i7UeYHtVLlK+Vh6zKDBn/rTfbLiuKc/zAwuPWpWBn1fxf rGNO+k8wLGBDu5Bi6IGbOIMDH+lamBkSAPmFS7cjO0VvQbVEmTaQj1owBfQ4dzD/zXmZ LlnfTce3Pxeqoodh9Zh33F3AHZ1FHcMyA+DP+zIkc724JRV+m96anTVkrNuNXcaGgEiy FPeg== X-Received: by 10.180.99.71 with SMTP id eo7mr28586509wib.95.1435038356589; Mon, 22 Jun 2015 22:45:56 -0700 (PDT) Received: from fambox.fambox-domain ([176.2.7.63]) by mx.google.com with ESMTPSA id wi1sm33862726wjb.41.2015.06.22.22.45.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jun 2015 22:45:55 -0700 (PDT) From: Sedat Dilek To: Chris Wilson , intel-gfx Date: Tue, 23 Jun 2015 07:45:42 +0200 Message-Id: <1435038342-3227-1-git-send-email-sedat.dilek@gmail.com> X-Mailer: git-send-email 2.4.4 Cc: Sedat Dilek Subject: [Intel-gfx] [PATCH] sna: Correct misspelled cacheing->caching in comments X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, 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 I have seen this typo once and added an entry to codespell's dictionary.txt file. $ diff -uprN /usr/share/codespell/dictionary.txt.orig /usr/share/codespell/dictionary.txt --- /usr/share/codespell/dictionary.txt.orig 2015-06-09 20:49:25.000000000 +0200 +++ /usr/share/codespell/dictionary.txt 2015-06-23 07:37:35.893689539 +0200 @@ -625,6 +625,7 @@ burried->buried busineses->business, businesses, busness->business bussiness->business +cacheing->caching caculater->calculator cacuses->caucuses cahracters->characters There some other places where this typo occurs: [ src/sna/kgem.c ] 298:static void assert_cacheing(struct kgem *kgem, struct kgem_bo *bo) 324:#define assert_cacheing(kgem, bo) 2455: assert_cacheing(kgem, bo); 2841: assert_cacheing(kgem, bo); It's up to Chris what to do with this. Signed-off-by: Sedat Dilek --- src/sna/sna_dri2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c index 2cde0c6aa0dc..2a1f8475b735 100644 --- a/src/sna/sna_dri2.c +++ b/src/sna/sna_dri2.c @@ -228,7 +228,7 @@ sna_dri2_cache_bo(struct sna *sna, if (!c) goto err; - DBG(("%s: cacheing handle=%d (name=%d, flags=%d, active_scanout=%d)\n", __FUNCTION__, bo->handle, name, flags, bo->active_scanout)); + DBG(("%s: caching handle=%d (name=%d, flags=%d, active_scanout=%d)\n", __FUNCTION__, bo->handle, name, flags, bo->active_scanout)); c->bo = bo; c->name = name; @@ -333,7 +333,7 @@ sna_dri2_get_back(struct sna *sna, c->name = back->name; c->flags = back->flags; list_add(&c->link, &priv->cache); - DBG(("%s: cacheing handle=%d (name=%d, flags=%d, active_scanout=%d)\n", __FUNCTION__, c->bo->handle, c->name, c->flags, c->bo->active_scanout)); + DBG(("%s: caching handle=%d (name=%d, flags=%d, active_scanout=%d)\n", __FUNCTION__, c->bo->handle, c->name, c->flags, c->bo->active_scanout)); } } else { if (&c->link != &priv->cache)