Re: [PATCH v6 1/3] drm/mipi-dsi: add mipi_dsi_compression_mode_multi

From: Neil Armstrong
Date: Wed Oct 09 2024 - 08:34:10 EST


Hi,

On 09/10/2024 14:18, kernel test robot wrote:
Hi Dzmitry,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 58ca61c1a866bfdaa5e19fb19a2416764f847d75]

url: https://github.com/intel-lab-lkp/linux/commits/Dzmitry-Sankouski/drm-mipi-dsi-add-mipi_dsi_compression_mode_multi/20241007-022151
base: 58ca61c1a866bfdaa5e19fb19a2416764f847d75
patch link: https://lore.kernel.org/r/20241006-starqltechn_integration_upstream-v6-1-8336b9cd6c34%40gmail.com
patch subject: [PATCH v6 1/3] drm/mipi-dsi: add mipi_dsi_compression_mode_multi
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20241009/202410092245.tfsuUllL-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241009/202410092245.tfsuUllL-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410092245.tfsuUllL-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

drivers/gpu/drm/drm_mipi_dsi.c:1533: warning: Function parameter or struct member 'ctx' not described in 'mipi_dsi_compression_mode_multi'
drivers/gpu/drm/drm_mipi_dsi.c:1533: warning: Excess function parameter 'dsi' description in 'mipi_dsi_compression_mode_multi'

I missed this, Dmitry, can you send a follow-up patch fixing the kerneldoc ?

Thanks,
Neil



vim +1533 drivers/gpu/drm/drm_mipi_dsi.c

1522
1523 /**
1524 * mipi_dsi_compression_mode_multi() - enable/disable DSC on the peripheral
1525 * @dsi: DSI peripheral device
1526 * @enable: Whether to enable or disable the DSC
1527 *
1528 * Enable or disable Display Stream Compression on the peripheral using the
1529 * default Picture Parameter Set and VESA DSC 1.1 algorithm.
1530 */
1531 void mipi_dsi_compression_mode_multi(struct mipi_dsi_multi_context *ctx,
1532 bool enable)
1533 {
1534 return mipi_dsi_compression_mode_ext_multi(ctx, enable,
1535 MIPI_DSI_COMPRESSION_DSC, 0);
1536 }
1537 EXPORT_SYMBOL(mipi_dsi_compression_mode_multi);
1538