mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@inria.fr>
To: Sidraya <sidraya.bj@pathpartnertech.com>,
	Praneeth Bajjuri <praneeth@ti.com>,
	Angela Stegmaier <angelabaker@ti.com>
Cc: linux-kernel@vger.kernel.org, kbuild-all@lists.01.org
Subject: [ti:ti-rt-linux-5.10.y 10173/10206] drivers/media/platform/vxe-vxd/common/idgen_api.c:66:7-16: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) (fwd)
Date: Sat, 20 Nov 2021 10:46:36 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2111201045230.3043@hadrien> (raw)

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

Hello,

I didn't reeive a patch for the first warning, but you may want to check
on it anyway.  I guess that there is an array declared as [] that should
be declared as [0].

julia

---------- Forwarded message ----------
Date: Sat, 20 Nov 2021 09:21:03 +0800
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Cc: lkp@intel.com, Julia Lawall <julia.lawall@lip6.fr>
Subject: [ti:ti-rt-linux-5.10.y 10173/10206]
    drivers/media/platform/vxe-vxd/common/idgen_api.c:66:7-16: WARNING use
    flexible-array member instead
    (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-
    and-one-element-arrays)

CC: kbuild-all@lists.01.org
CC: linux-kernel@vger.kernel.org
TO: Sidraya <sidraya.bj@pathpartnertech.com>
CC: Praneeth Bajjuri <praneeth@ti.com>
CC: Angela Stegmaier <angelabaker@ti.com>

tree:   git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.10.y
head:   0c67d996db8f3c9149598bc98657ae28fee22208
commit: 97dfdd999ba7266785579c99c40a3c65e63e864a [10173/10206] media: platform: vxd: Kconfig: Add Video decoder Kconfig and Makefile
:::::: branch date: 2 days ago
:::::: commit date: 9 days ago
config: nios2-randconfig-c004-20211116 (attached as .config)
compiler: nios2-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/media/platform/vxe-vxd/common/idgen_api.c:66:7-16: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
--
>> drivers/media/platform/vxe-vxd/common/work_queue.c:65:17-23: ERROR: application of sizeof to pointer
   drivers/media/platform/vxe-vxd/common/work_queue.c:42:17-23: ERROR: application of sizeof to pointer

Please review and possibly fold the followup patch.

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

[-- Attachment #2: Type: application/gzip, Size: 29675 bytes --]

                 reply	other threads:[~2021-11-20  9:51 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=alpine.DEB.2.22.394.2111201045230.3043@hadrien \
    --to=julia.lawall@inria.fr \
    --cc=angelabaker@ti.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=praneeth@ti.com \
    --cc=sidraya.bj@pathpartnertech.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®