Message ID | 20231219151955.2477488-1-andriy.shevchenko@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-5474-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp2013125dyi; Tue, 19 Dec 2023 07:21:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcaoCqdYz54/hA19Wa95mevsN/+Q5LG3Ip3dSI27P/Q0j7O6vEDoq+8HUXSppY5xIQEqnc X-Received: by 2002:a05:6a00:1745:b0:6ce:31b4:1352 with SMTP id j5-20020a056a00174500b006ce31b41352mr21907899pfc.30.1702999295203; Tue, 19 Dec 2023 07:21:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702999295; cv=none; d=google.com; s=arc-20160816; b=jPfDMa0sCVYfWvJGL8yo9amMmYcEciWD2nxU3Hn5JWRm/frH3v95dsjDXyoumMicH1 uBCIWuiwu2lE3psaceB4gP5NmKQibsNrHiR3j9q2TI9UumsaKgvERw1kjajV9hCfhHAB gAiZWUsrJfzdeTUeyd360073ch8pNvaFnVZHpc+gt6qRE6IM7ObbYhExc20lDcIcKjqs VkOgT6tP4R+UHnM46zWyxhN9s4eXLIgEGdNHcVg566BmQM2IlExIhJ2+dL2IEq0xXmst vXVQ7veXxujHvN/j3ORaz5FM+O2VslxlCVmMbTfK5YQYK6Gg+4ETc4dTrJz/nw0dcsis 2jaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=LRbAo3oZVdwlTlaiOS07JVBjXgozxTVIUCVz2U9dDSo=; fh=awOhBQ09VKHWJh23PlQCKcMbaxEroErHMJPVYPP1X9o=; b=WC5Fgy4K3GcjBP3hT/O5pc0xkKhMwOXrNyTzpxEP/E2ZsCAAg7zBbsLJu8YpHo6WYH bsSIzNnE9l8KpPDxWe6up0lAku/LC0SsDJuNJTu87lF7yXjtNEccCZn1kAZ/YbbaLqNn xsLmxdXgbGA9aVquz7niptTmmFrku1g6IaLV+Es6R44zdRLO/BVtbLWMtZ8ll+z1Y8Yw 0eUgF3LsGWXPjuSjazbTnqRvxbCeW478NqyddJtLDRjcittHI54XYBunAoLPNHqEtDfi C8uxWeLHIWylinmwlIFrOLa9paIDXPXdgVoJL+C14vp+UHEFYI3IB3+kyQmETind1Zkx v7zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WJHawXb3; spf=pass (google.com: domain of linux-kernel+bounces-5474-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5474-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ko19-20020a056a00461300b006ce83264887si14193350pfb.57.2023.12.19.07.21.35 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 07:21:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5474-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WJHawXb3; spf=pass (google.com: domain of linux-kernel+bounces-5474-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5474-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E84DE284CDE for <ouuuleilei@gmail.com>; Tue, 19 Dec 2023 15:20:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A5321CF87; Tue, 19 Dec 2023 15:20:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="WJHawXb3" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCAC71CA81 for <linux-kernel@vger.kernel.org>; Tue, 19 Dec 2023 15:20:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702999203; x=1734535203; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=WPUC94aeFkxTDRSMtq6zQgY3UiFBP1Ldi/bE9BU6ccY=; b=WJHawXb3StAQpWwzW6CgiZQHuHnhLGGuDPRvseV53GBdjyk415gr+iNQ 61yUx8Ae0gohdngSw1T7WDrPa30zYZMOdm+Y7ExgcK8b/dz3rkii5qdnD bPIXp8v7tTuQKfxWV2cd1R5IIU2akamcCdnbyN+tViIsJUZNejgXBUvb7 L2cUhCb91nB3iXnB/YBPVp7wKn2NneWRj3oD6KkO2qjYkKQ3wbBPOdN4t X6Gzad/8/2FKE0OIEzh76fb00sV2ayr4O/J2FF+zjnQRn7KhQvK+9Jh3C OolApd9yyEp5Hx8M/QTj7FUlRqQfO15uufoBs77M1js4/A2LYOCIkcMCU g==; X-IronPort-AV: E=McAfee;i="6600,9927,10929"; a="2890856" X-IronPort-AV: E=Sophos;i="6.04,288,1695711600"; d="scan'208";a="2890856" 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:01 -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 <andriy.shevchenko@linux.intel.com> To: Dmitry Osipenko <dmitry.osipenko@collabora.com>, dri-devel@lists.freedesktop.org, virtualization@lists.linux.dev, linux-kernel@vger.kernel.org Cc: David Airlie <airlied@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, Gurchetan Singh <gurchetansingh@chromium.org>, Chia-I Wu <olvaffe@gmail.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, Daniel Vetter <daniel@ffwll.ch>, Andy Shevchenko <andriy.shevchenko@linux.intel.com> 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785724188986256135 X-GMAIL-MSGID: 1785724188986256135 |
Series |
[v1,1/1] drm/virtio: Spelling fixes
|
|
Commit Message
Andy Shevchenko
Dec. 19, 2023, 3:19 p.m. UTC
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 <andriy.shevchenko@linux.intel.com>
---
drivers/gpu/drm/virtio/virtgpu_submit.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On 12/19/23 18:19, Andy Shevchenko wrote: > 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 <andriy.shevchenko@linux.intel.com> > --- > 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); Applied to misc-next, thanks
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);