All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [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)
Date: Wed, 25 Aug 2021 22:49:02 +0800	[thread overview]
Message-ID: <202108252246.9mCUWD8d-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-08-25 14:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202108252246.9mCUWD8d-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.