From patchwork Tue Oct 3 15:38:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Crouse X-Patchwork-Id: 9983139 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 01D3E6029B for ; Tue, 3 Oct 2017 15:38:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E81EC289EA for ; Tue, 3 Oct 2017 15:38:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DCE79289FC; Tue, 3 Oct 2017 15:38:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E7497289ED for ; Tue, 3 Oct 2017 15:38:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B43C989F19; Tue, 3 Oct 2017 15:38:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from smtp.codeaurora.org (smtp.codeaurora.org [198.145.29.96]) by gabe.freedesktop.org (Postfix) with ESMTPS id B823A89F19 for ; Tue, 3 Oct 2017 15:38:15 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4DF4B60227; Tue, 3 Oct 2017 15:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1507045095; bh=tylL+TTu/Xcx5sXix3aFT3WhYen+LTr9FxGBsFtBwmo=; h=From:To:Cc:Subject:Date:From; b=bqBWAbgE/GP6UTx9jDNznR4jnPpqd7Lywuj01LON23dT0rjbcmk7imu+wHWo2STZk EwN0hJ3Lc2JvuzQ5HKl4f63ZVsz9JrcU7ONFCthKBAsdBYhfo5qHUEoRVDdZ+NOVjQ ILoGolQp7G7th7DMdFz76Eq5gaZ9PBB2eVoQkztI= Received: from jcrouse-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jcrouse@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5F84660227; Tue, 3 Oct 2017 15:38:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1507045094; bh=tylL+TTu/Xcx5sXix3aFT3WhYen+LTr9FxGBsFtBwmo=; h=From:To:Cc:Subject:Date:From; b=buUt7KkSRnHrkl0ZoUGmBdT5nYIaCi9E9T3Ds/O7uXVOI+TitUOYSDrIkYoxn1VjB tl0TLUU+1nP+KSJDAgR4pz2w/ROPzfYP/3Ns6CbLraU1+21F6JZnuFrXakvAPoCnIE wAcBppcGYAY5493JMxx+nR/nE2gjn/dU+NK3Sop8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5F84660227 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jcrouse@codeaurora.org From: Jordan Crouse To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm: fix typo in drm_gem_get_pages() comment Date: Tue, 3 Oct 2017 09:38:10 -0600 Message-Id: <1507045091-6550-1-git-send-email-jcrouse@codeaurora.org> X-Mailer: git-send-email 1.9.1 Cc: linux-arm-msm@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP I spent an embarrassingly long time looking for drm_gem_init_object() before I realized I was actually looking for drm_gem_object_init(). Fix the typo to keep other poor developers from suffering the same fate. Signed-off-by: Jordan Crouse --- drivers/gpu/drm/drm_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c index 7199bba..af62017 100644 --- a/drivers/gpu/drm/drm_gem.c +++ b/drivers/gpu/drm/drm_gem.c @@ -543,7 +543,7 @@ int drm_gem_create_mmap_offset(struct drm_gem_object *obj) * Note that you are not allowed to change gfp-zones during runtime. That is, * shmem_read_mapping_page_gfp() must be called with the same gfp_zone(gfp) as * set during initialization. If you have special zone constraints, set them - * after drm_gem_init_object() via mapping_set_gfp_mask(). shmem-core takes care + * after drm_gem_object_init() via mapping_set_gfp_mask(). shmem-core takes care * to keep pages in the required zone during swap-in. */ struct page **drm_gem_get_pages(struct drm_gem_object *obj)