From 154abf5804de4e182b39aeb9c2e0c0bf4a5cb531 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 28 Mar 2023 04:03:59 +0000 Subject: [PATCH] drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc From Liu Ying 9821576e117047e4bf8e92a673272aa014a3bb2e in linux-6.1.y/6.1.21 0d3c9333d976af41d7dbc6bf4d9d2e95fbdf9c89 in mainline linux --- sys/dev/pci/drm/include/drm/drm_bridge.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/drm/include/drm/drm_bridge.h b/sys/dev/pci/drm/include/drm/drm_bridge.h index dee05d29701..3f39d3532c1 100644 --- a/sys/dev/pci/drm/include/drm/drm_bridge.h +++ b/sys/dev/pci/drm/include/drm/drm_bridge.h @@ -447,11 +447,11 @@ struct drm_bridge_funcs { * * The returned array must be allocated with kmalloc() and will be * freed by the caller. If the allocation fails, NULL should be - * returned. num_output_fmts must be set to the returned array size. + * returned. num_input_fmts must be set to the returned array size. * Formats listed in the returned array should be listed in decreasing * preference order (the core will try all formats until it finds one * that works). When the format is not supported NULL should be - * returned and num_output_fmts should be set to 0. + * returned and num_input_fmts should be set to 0. * * This method is called on all elements of the bridge chain as part of * the bus format negotiation process that happens in -- 2.20.1