mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm: xlnx: zynqmp_dpsub: Modify mismatched function name
@ 2022-10-31  5:26 Jiapeng Chong
  2022-10-31  5:37 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2022-10-31  5:26 UTC (permalink / raw)
  To: hyun.kwon
  Cc: laurent.pinchart, airlied, daniel, michal.simek, p.zabel,
	dri-devel, linux-arm-kernel, linux-kernel, Jiapeng Chong,
	Abaci Robot

No functional modification involved.

drivers/gpu/drm/xlnx/zynqmp_dp.c:793: warning: expecting prototype for zynqmp_dp_link_train(). Prototype was for zynqmp_dp_train() instead.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2666
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/gpu/drm/xlnx/zynqmp_dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c b/drivers/gpu/drm/xlnx/zynqmp_dp.c
index 7c9ae167eac7..176d752782df 100644
--- a/drivers/gpu/drm/xlnx/zynqmp_dp.c
+++ b/drivers/gpu/drm/xlnx/zynqmp_dp.c
@@ -784,7 +784,7 @@ static int zynqmp_dp_link_train_ce(struct zynqmp_dp *dp)
 }
 
 /**
- * zynqmp_dp_link_train - Train the link
+ * zynqmp_dp_train - Train the link
  * @dp: DisplayPort IP core structure
  *
  * Return: 0 if all trains are done successfully, or corresponding error code.
-- 
2.20.1.7.g153144c


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm: xlnx: zynqmp_dpsub: Modify mismatched function name
  2022-10-31  5:26 [PATCH] drm: xlnx: zynqmp_dpsub: Modify mismatched function name Jiapeng Chong
@ 2022-10-31  5:37 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2022-10-31  5:37 UTC (permalink / raw)
  To: Jiapeng Chong, hyun.kwon
  Cc: laurent.pinchart, airlied, daniel, michal.simek, p.zabel,
	dri-devel, linux-arm-kernel, linux-kernel, Abaci Robot



On 10/30/22 22:26, Jiapeng Chong wrote:
> No functional modification involved.
> 
> drivers/gpu/drm/xlnx/zynqmp_dp.c:793: warning: expecting prototype for zynqmp_dp_link_train(). Prototype was for zynqmp_dp_train() instead.
> 

Note that this warning is from scripts/kernel-doc.

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2666
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ---
>  drivers/gpu/drm/xlnx/zynqmp_dp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c b/drivers/gpu/drm/xlnx/zynqmp_dp.c
> index 7c9ae167eac7..176d752782df 100644
> --- a/drivers/gpu/drm/xlnx/zynqmp_dp.c
> +++ b/drivers/gpu/drm/xlnx/zynqmp_dp.c
> @@ -784,7 +784,7 @@ static int zynqmp_dp_link_train_ce(struct zynqmp_dp *dp)
>  }
>  
>  /**
> - * zynqmp_dp_link_train - Train the link
> + * zynqmp_dp_train - Train the link
>   * @dp: DisplayPort IP core structure
>   *
>   * Return: 0 if all trains are done successfully, or corresponding error code.

-- 
~Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-31  5:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-31  5:26 [PATCH] drm: xlnx: zynqmp_dpsub: Modify mismatched function name Jiapeng Chong
2022-10-31  5:37 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®