Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5177463ybl; Wed, 22 Jan 2020 11:45:49 -0800 (PST) X-Google-Smtp-Source: APXvYqztai84K7oldF3+cTIKPXeIMeaUwUO6bF7S6m07vMRtv00A4cCLXJyhHPToAJr5asju61vx X-Received: by 2002:a05:6830:2014:: with SMTP id e20mr8292112otp.272.1579722348901; Wed, 22 Jan 2020 11:45:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579722348; cv=none; d=google.com; s=arc-20160816; b=r9XL36u6Shu5fqPg5IyDSx/c4e442HJltkNUh1b57qjMXoTI2Z5UIIvu0Ze+fchI7h Iw0vThnWgwI9Tm8G5+hYCAq9i3J6AuOT8wzwyD2n5P9xXCaVJPmNURlbj7d3IMz9Gas7 1EMx50CJi9VB4crti8fHxeiCbrRnKe3JltiOoTlnl2wQ7B1PoQ7Affwj2EvQChCjhQde Ys1NqCp4km1aPPJdhTKzqx02CwKwYZSeiF9E4woP4ijMVu84enqex4rn8yTNUnvzJgek iI7O7+b9MxgfOipsq1NXVy2E0OZsHk69yHE5onMI8oR1w7vEYLQjqHoyjwMDpYYl3tMS El6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2H99dtIPzD+2bfpOZRc5f1le1Dolfc3F7B556CU3yGI=; b=bDA1Q7UwlmkgIoZHWrVHDrg+TRktJBvx6kgS+Yg+PhaztJ4HgqgTBzWPDashQ9Xvpe QBSk0zQi7pFYVLUju50+s9vudGkIDWdn6wJaSCWa95ys0j4G6ibCG6DECZn6QJid43oZ zk1dsXaKVfHwE3JjlUr99QRra32t71jt+YbPlAudKoah93fKrkdCzKkLg6Zebughz7GY FKQBnIs+uu3TVVCXX/293BjBRwZNec5TRokMoP9pDh9K4xic+diP7Lsl+Vv89Ed7HQyv 1mEIbPnSkUBVpv/lhZdTNGF0XZOLZ2htqOFheCbJuZNS8yaGRO0mjHhkO2IkYdYrF15X 9TPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FnlVw13T; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v124si21977667oib.173.2020.01.22.11.45.30; Wed, 22 Jan 2020 11:45:48 -0800 (PST) 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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FnlVw13T; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728827AbgAVTnr (ORCPT + 99 others); Wed, 22 Jan 2020 14:43:47 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:31202 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728842AbgAVTnn (ORCPT ); Wed, 22 Jan 2020 14:43:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579722222; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2H99dtIPzD+2bfpOZRc5f1le1Dolfc3F7B556CU3yGI=; b=FnlVw13T3WGHIZE1UT/lH9SW17gFVt8Ehe6+2VoBOMItRzebnshjoQMjHiqAfN05CZm4Pn mzZZk3NcPCYZheDasRT17yRbS/O3r6BIUkC0wAh9kj9WwAA7S6+jh5us1e7hHP35oUs3u+ a06l1eHSHyQNCTENOwCVFl75acwfSl4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-294-NQLconojOpKT2sJLDngfkQ-1; Wed, 22 Jan 2020 14:43:38 -0500 X-MC-Unique: NQLconojOpKT2sJLDngfkQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E64BB138191; Wed, 22 Jan 2020 19:43:36 +0000 (UTC) Received: from malachite.bss.redhat.com (dhcp-10-20-1-90.bss.redhat.com [10.20.1.90]) by smtp.corp.redhat.com (Postfix) with ESMTP id 16E9C28D10; Wed, 22 Jan 2020 19:43:36 +0000 (UTC) From: Lyude Paul To: dri-devel@lists.freedesktop.org Cc: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , Maarten Lankhorst , Maxime Ripard , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] drm/dp_mst: Mention max_payloads in proposed_vcpis/payloads docs Date: Wed, 22 Jan 2020 14:43:21 -0500 Message-Id: <20200122194321.14953-2-lyude@redhat.com> In-Reply-To: <20200122194321.14953-1-lyude@redhat.com> References: <20200122194321.14953-1-lyude@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mention that the size of these two structs is determined by max_payloads. Suggested by Ville Syrj=C3=A4l=C3=A4. Signed-off-by: Lyude Paul Cc: Ville Syrj=C3=A4l=C3=A4 --- include/drm/drm_dp_mst_helper.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/drm/drm_dp_mst_helper.h b/include/drm/drm_dp_mst_hel= per.h index bcb39da9adb4..5483f888712a 100644 --- a/include/drm/drm_dp_mst_helper.h +++ b/include/drm/drm_dp_mst_helper.h @@ -635,11 +635,13 @@ struct drm_dp_mst_topology_mgr { struct mutex payload_lock; /** * @proposed_vcpis: Array of pointers for the new VCPI allocation. The - * VCPI structure itself is &drm_dp_mst_port.vcpi. + * VCPI structure itself is &drm_dp_mst_port.vcpi, and the size of + * this array is determined by @max_payloads. */ struct drm_dp_vcpi **proposed_vcpis; /** - * @payloads: Array of payloads. + * @payloads: Array of payloads. The size of this array is determined + * by @max_payloads. */ struct drm_dp_payload *payloads; /** --=20 2.24.1