All of lore.kernel.org
 help / color / mirror / Atom feed
* [xlnx:master 10763/12418] drivers/gpu/drm/xlnx/xlnx_pl_disp.c:47:19-22: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
@ 2021-08-25 14:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-25 14:49 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2847 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-arm-kernel(a)lists.infradead.org
TO: Saurabh Sengar <saurabh.singh@xilinx.com>
CC: Michal Simek <monstr@monstr.eu>
CC: Hyun Kwon <hyun.kwon@xilinx.com>

tree:   https://github.com/Xilinx/linux-xlnx master
head:   45cd0074cdf1ddd710b28848e6a860b442babfcc
commit: f74536b5ee8056ab562f04c81e1a34e6c4779025 [10763/12418] drm: xlnx: DRM KMS driver for xilinx display pipeline
:::::: branch date: 2 days ago
:::::: commit date: 5 months ago
config: arm64-randconfig-c024-20210825 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>


cocci warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/xlnx/xlnx_pl_disp.c:47:19-22: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)

vim +47 drivers/gpu/drm/xlnx/xlnx_pl_disp.c

f74536b5ee8056 Saurabh Sengar 2018-02-07  27  
f74536b5ee8056 Saurabh Sengar 2018-02-07  28  /*
f74536b5ee8056 Saurabh Sengar 2018-02-07  29   * Overview
f74536b5ee8056 Saurabh Sengar 2018-02-07  30   * --------
f74536b5ee8056 Saurabh Sengar 2018-02-07  31   *
f74536b5ee8056 Saurabh Sengar 2018-02-07  32   * This driver intends to support the display pipeline with DMA engine
f74536b5ee8056 Saurabh Sengar 2018-02-07  33   * driver by initializing DRM crtc and plane objects. The driver makes
f74536b5ee8056 Saurabh Sengar 2018-02-07  34   * an assumption that it's single plane pipeline, as multi-plane pipeline
f74536b5ee8056 Saurabh Sengar 2018-02-07  35   * would require programing beyond the DMA engine interface.
f74536b5ee8056 Saurabh Sengar 2018-02-07  36   */
f74536b5ee8056 Saurabh Sengar 2018-02-07  37  
f74536b5ee8056 Saurabh Sengar 2018-02-07  38  /**
f74536b5ee8056 Saurabh Sengar 2018-02-07  39   * struct xlnx_dma_chan - struct for DMA engine
f74536b5ee8056 Saurabh Sengar 2018-02-07  40   * @dma_chan: DMA channel
f74536b5ee8056 Saurabh Sengar 2018-02-07  41   * @xt: Interleaved desc config container
f74536b5ee8056 Saurabh Sengar 2018-02-07  42   * @sgl: Data chunk for dma_interleaved_template
f74536b5ee8056 Saurabh Sengar 2018-02-07  43   */
f74536b5ee8056 Saurabh Sengar 2018-02-07  44  struct xlnx_dma_chan {
f74536b5ee8056 Saurabh Sengar 2018-02-07  45  	struct dma_chan *dma_chan;
f74536b5ee8056 Saurabh Sengar 2018-02-07  46  	struct dma_interleaved_template xt;
f74536b5ee8056 Saurabh Sengar 2018-02-07 @47  	struct data_chunk sgl[1];
f74536b5ee8056 Saurabh Sengar 2018-02-07  48  };
f74536b5ee8056 Saurabh Sengar 2018-02-07  49  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31078 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-25 14:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 14:49 [xlnx:master 10763/12418] drivers/gpu/drm/xlnx/xlnx_pl_disp.c:47:19-22: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.