From patchwork Tue Dec 19 15:19:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13498442 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3754AC41535 for ; Tue, 19 Dec 2023 15:20:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6F0C710E02A; Tue, 19 Dec 2023 15:20:04 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id BF95F10E02A for ; Tue, 19 Dec 2023 15:20:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702999202; x=1734535202; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=WPUC94aeFkxTDRSMtq6zQgY3UiFBP1Ldi/bE9BU6ccY=; b=dWc1B/Pj5ruGbfQM+cY7yKIRGUdYZtnc+JbOccY7DD9w6qLOE3wbVoQy 6wyK4XxmO+vfnVquNgltXPjO4vMDGmaZGaLcSmGXcoOJ7N5hoL3uF6OKB TH1v2ZqqZJIIMcLMT2sUA1e1H4DmcOPNTlQNQk57xLxiX26OGcASI4Al7 ELI/L9m7NWOhmA7vHP4Bm5kqgW390AFcCqTOvFMCcxMl2sTH3HTF/FqKH A4oZgQtxYQQWyJS5S9wecrAcptqaepDDEj2MWCzZGyab4ZBSijhTCoeks Fyz/S685AYSy4CO65LcWVxMwhusTaAFlqAqu055oVZ9xbWCKuC1ECLNeu A==; X-IronPort-AV: E=McAfee;i="6600,9927,10929"; a="2890858" X-IronPort-AV: E=Sophos;i="6.04,288,1695711600"; d="scan'208";a="2890858" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2023 07:20:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10929"; a="810266239" X-IronPort-AV: E=Sophos;i="6.04,288,1695711600"; d="scan'208";a="810266239" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga001.jf.intel.com with ESMTP; 19 Dec 2023 07:19:58 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id E2C2623A; Tue, 19 Dec 2023 17:19:56 +0200 (EET) From: Andy Shevchenko To: Dmitry Osipenko , dri-devel@lists.freedesktop.org, virtualization@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/1] drm/virtio: Spelling fixes Date: Tue, 19 Dec 2023 17:19:55 +0200 Message-ID: <20231219151955.2477488-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Gurchetan Singh , Gerd Hoffmann , Thomas Zimmermann , David Airlie , Andy Shevchenko Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" While making a spelling mistake myself for `git grep kvalloc` I found that the only file has such a typo. Fix it and update to the standard de facto of how we refer to the functions. Also spell usr-out as user-out, it seems this driver uses its own terminology nobody else can decypher, make it more readable. Signed-off-by: Andy Shevchenko --- drivers/gpu/drm/virtio/virtgpu_submit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_submit.c b/drivers/gpu/drm/virtio/virtgpu_submit.c index 5c514946bbad..1c7c7f61a222 100644 --- a/drivers/gpu/drm/virtio/virtgpu_submit.c +++ b/drivers/gpu/drm/virtio/virtgpu_submit.c @@ -99,8 +99,8 @@ virtio_gpu_parse_deps(struct virtio_gpu_submit *submit) return 0; /* - * kvalloc at first tries to allocate memory using kmalloc and - * falls back to vmalloc only on failure. It also uses __GFP_NOWARN + * kvmalloc() at first tries to allocate memory using kmalloc() and + * falls back to vmalloc() only on failure. It also uses __GFP_NOWARN * internally for allocations larger than a page size, preventing * storm of KMSG warnings. */ @@ -529,7 +529,7 @@ int virtio_gpu_execbuffer_ioctl(struct drm_device *dev, void *data, virtio_gpu_submit(&submit); /* - * Set up usr-out data after submitting the job to optimize + * Set up user-out data after submitting the job to optimize * the job submission path. */ virtio_gpu_install_out_fence_fd(&submit);