From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) (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 1EB422FD69D; Fri, 6 Feb 2026 11:49:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770378595; cv=none; b=nbbEPt8tzdY5tZp7IIT42aHNjYTMR1hOvjeDXCSSZrqZJJL9Dhk4bvMG7alguoGc7uYn89cKKCX+PK2lthxRgGtBlMdZS6tm8pdsHMNFHs6KM2FXGRlwGIZhp1i0zdvsLvdNKZ/kkihE8oha8d73fIpGFeJAhJldNLnBi8sInzY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770378595; c=relaxed/simple; bh=yZQSjXrosJ9G49PSKlsgRZPQ2Z7065fb/GvHQoIsnVQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PziN4ZAX12NsbHwVdMDRhCJ4Xg8KdzX2n79BwZGnZ8ondg0vJoBCfNHkNA9xeIcxN+6ZXf5yGAkvrd2qUmeVumgpdRjBthGwbDV8gvhlkQLv8VTcYVosysBbZuEbValuIxowzXM1dfVnBEmBb3EldJr5FS62BFgR1OZSCwKI1Bc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org; spf=pass smtp.mailfrom=mailbox.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b=Ce18+USR; arc=none smtp.client-ip=80.241.56.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mailbox.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="Ce18+USR" Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4f6sp06hL0z9vCS; Fri, 6 Feb 2026 12:49:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1770378585; 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=P+oezsb71EA+19sF6ntvI6Z0OyRW87p8CjSQDkHxgIA=; b=Ce18+USRK4nI/eces2Gp1KgAkFOYnM9SEUOFGvf9rZ9vokFtOq51kOCTMdxccCtu/q5Rfc bXnIk8iiow5vACb3dWbAyQ65sU6VOIiD6ajBy1ejdn100guKalZ9zBQL/ON5Jtttpqw8IS dgXqUGvugWeJr90xH1ygRzgx9rpa490+gZklR6DS6RIXTJ38bfVdgNrD99i/ieCjAzmZA6 k4E0skAjZoiDuW2+AcJ5siliqx4XjWl5YnBdIM9u4uFsCY5ecFDKCFt3s2lUMrm4nwlBk2 4yvSbr1xlc/fDqkVZZ+rGsNqiwVjISaMM8kIHkNBbtcwWcn2XL2p59nl577mtg== Message-ID: Date: Fri, 6 Feb 2026 12:49:41 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH] drm: of: Fix drm_of_get_data_lanes_count_ep() return value documentation To: dri-devel@lists.freedesktop.org Cc: Geert Uytterhoeven , David Airlie , Maarten Lankhorst , Maxime Ripard , Simona Vetter , Thomas Zimmermann , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org References: <20260115024610.661624-1-marek.vasut+renesas@mailbox.org> Content-Language: en-US From: Marek Vasut In-Reply-To: <20260115024610.661624-1-marek.vasut+renesas@mailbox.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MBO-RS-META: grc8nmpo1ayzz7u5hk5bhkixa4ncnj94 X-MBO-RS-ID: 17943a7f56649df977d On 1/15/26 3:45 AM, Marek Vasut wrote: > Update drm_of_get_data_lanes_count_ep() return value documentation > to match the drm_of_get_data_lanes_count() return value documentation. > The drm_of_get_data_lanes_count_ep() is only a wrapper around the > drm_of_get_data_lanes_count() and therefore returns the same error > codes. > > Fixes: fc801750b197 ("drm: of: Add drm_of_get_data_lanes_count and drm_of_get_data_lanes_ep") > Reported-by: Geert Uytterhoeven > Signed-off-by: Marek Vasut > --- > Cc: David Airlie > Cc: Geert Uytterhoeven > Cc: Maarten Lankhorst > Cc: Maxime Ripard > Cc: Simona Vetter > Cc: Thomas Zimmermann > Cc: dri-devel@lists.freedesktop.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-renesas-soc@vger.kernel.org > --- > drivers/gpu/drm/drm_of.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/drm_of.c b/drivers/gpu/drm/drm_of.c > index 4f65ce729a473..cfd0518174de8 100644 > --- a/drivers/gpu/drm/drm_of.c > +++ b/drivers/gpu/drm/drm_of.c > @@ -539,8 +539,8 @@ EXPORT_SYMBOL_GPL(drm_of_get_data_lanes_count); > * > * Return: > * * min..max - positive integer count of "data-lanes" elements > - * * -EINVAL - the "data-mapping" property is unsupported > - * * -ENODEV - the "data-mapping" property is missing > + * * -ve - the "data-lanes" property is missing or invalid > + * * -EINVAL - the "data-lanes" property is unsupported > */ > int drm_of_get_data_lanes_count_ep(const struct device_node *port, > int port_reg, int reg, Is anything missing here or can this be applied ? Thank you