From patchwork Fri Jun 10 15:03:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liviu Dudau X-Patchwork-Id: 69786 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp340774qgf; Fri, 10 Jun 2016 08:03:41 -0700 (PDT) X-Received: by 10.157.7.68 with SMTP id 62mr232088ote.168.1465571021642; Fri, 10 Jun 2016 08:03:41 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v76si13538372pfa.20.2016.06.10.08.03.41; Fri, 10 Jun 2016 08:03:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753021AbcFJPDj (ORCPT + 30 others); Fri, 10 Jun 2016 11:03:39 -0400 Received: from fw-tnat.cambridge.arm.com ([217.140.96.140]:56547 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751724AbcFJPDi (ORCPT ); Fri, 10 Jun 2016 11:03:38 -0400 Received: from e106497-lin.cambridge.arm.com (e106497-lin.cambridge.arm.com [10.2.131.153]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id u5AF3Pb8017586; Fri, 10 Jun 2016 16:03:26 +0100 From: Liviu Dudau To: Daniel Vetter , David Airlie Cc: DRI devel , LKML Subject: [PATCH] drm: Fix comment making reference to non-existing function Date: Fri, 10 Jun 2016 16:03:25 +0100 Message-Id: <1465571005-3877-1-git-send-email-Liviu.Dudau@arm.com> X-Mailer: git-send-email 2.8.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Documentation for drm_atomic_crtc_for_each_plane() makes reference to a function called drm_crtc_for_each_pending_plane(). I've guessed that the actual function name is drm_atomic_crtc_state_for_each_plane() as that matches best the intent of the comment. Signed-off-by: Liviu Dudau --- include/drm/drm_atomic_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.8.2 diff --git a/include/drm/drm_atomic_helper.h b/include/drm/drm_atomic_helper.h index 31c11e3..367457a 100644 --- a/include/drm/drm_atomic_helper.h +++ b/include/drm/drm_atomic_helper.h @@ -167,7 +167,7 @@ void drm_atomic_helper_legacy_gamma_set(struct drm_crtc *crtc, * This iterates over the current state, useful (for example) when applying * atomic state after it has been checked and swapped. To iterate over the * planes which *will* be attached (for ->atomic_check()) see - * drm_crtc_for_each_pending_plane(). + * drm_atomic_crtc_state_for_each_plane(). */ #define drm_atomic_crtc_for_each_plane(plane, crtc) \ drm_for_each_plane_mask(plane, (crtc)->dev, (crtc)->state->plane_mask)