Hi Anatoliy,

kernel test robot noticed the following build warnings:

[auto build test WARNING on bfa4437fd3938ae2e186e7664b2db65bb8775670]

url:    
https://github.com/intel-lab-lkp/linux/commits/Anatoliy-Klymenko/drm-xlnx-zynqmp_dpsub-Set-layer-mode-during-creation/20240227-124631
base:   bfa4437fd3938ae2e186e7664b2db65bb8775670
patch link:    
https://lore.kernel.org/r/20240226-dp-live-fmt-v1-3-b78c3f69c9d8%40amd.com
patch subject: [PATCH 3/4] drm: xlnx: zynqmp_dpsub: Set input live format
config: x86_64-allmodconfig 
(https://download.01.org/0day-ci/archive/20240304/202403040104.mwzqu5gs-...@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 
6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20240304/202403040104.mwzqu5gs-...@intel.com/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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202403040104.mwzqu5gs-...@intel.com/

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/xlnx/zynqmp_disp.c:164: warning: Function parameter or 
struct member 'blend' not described in 'zynqmp_disp'
   drivers/gpu/drm/xlnx/zynqmp_disp.c:164: warning: Function parameter or 
struct member 'avbuf' not described in 'zynqmp_disp'
   drivers/gpu/drm/xlnx/zynqmp_disp.c:164: warning: Function parameter or 
struct member 'audio' not described in 'zynqmp_disp'
>> drivers/gpu/drm/xlnx/zynqmp_disp.c:1019: warning: Function parameter or 
>> struct member 'bus_format' not described in 
>> 'zynqmp_disp_layer_set_live_format'
>> drivers/gpu/drm/xlnx/zynqmp_disp.c:1019: warning: Excess function parameter 
>> 'info' description in 'zynqmp_disp_layer_set_live_format'


vim +1019 drivers/gpu/drm/xlnx/zynqmp_disp.c

  1009  
  1010  /**
  1011   * zynqmp_disp_layer_set_live_format - Set live layer input format
  1012   * @layer: The layer
  1013   * @info: Input media bus format
  1014   *
  1015   * Set the live @layer input bus format. The layer must be disabled.
  1016   */
  1017  void zynqmp_disp_layer_set_live_format(struct zynqmp_disp_layer *layer,
  1018                                         u32 bus_format)
> 1019  {
  1020          int i;
  1021          const struct zynqmp_disp_format *fmt;
  1022  
  1023          for (i = 0; i < ARRAY_SIZE(avbuf_live_fmts); ++i) {
  1024                  fmt = &avbuf_live_fmts[i];
  1025                  if (fmt->bus_fmt == bus_format) {
  1026                          layer->disp_fmt = fmt;
  1027                          layer->drm_fmt = drm_format_info(fmt->drm_fmt);
  1028                          zynqmp_disp_avbuf_set_live_format(layer->disp, 
layer, fmt);
  1029                          return;
  1030                  }
  1031          }
  1032  }
  1033  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to