linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the kspp tree
@ 2021-08-30  8:44 Stephen Rothwell
  2021-08-30 23:50 ` Kees Cook
  2021-09-06  5:41 ` Stephen Rothwell
  0 siblings, 2 replies; 11+ messages in thread
From: Stephen Rothwell @ 2021-08-30  8:44 UTC (permalink / raw)
  To: Kees Cook
  Cc: Gustavo A. R. Silva, Linux Kernel Mailing List,
	Linux Next Mailing List, Anitha Chrisanthus, Sam Ravnborg

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

Hi all,

After merging the kspp tree, today's linux-next build (powerpc
allyesconfig) produced this warning:

drivers/gpu/drm/kmb/kmb_plane.c:135:20: warning: array subscript 3 is above array bounds of 'struct layer_status[1]' [-Warray-bounds]
  135 |   kmb->plane_status[plane_id].ctrl = LCD_CTRL_GL2_ENABLE;
      |   ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from drivers/gpu/drm/kmb/kmb_plane.c:17:
drivers/gpu/drm/kmb/kmb_drv.h:48:23: note: while referencing 'plane_status'
   48 |  struct layer_status  plane_status[KMB_MAX_PLANES];
      |                       ^~~~~~~~~~~~
drivers/gpu/drm/kmb/kmb_plane.c:132:20: warning: array subscript 2 is above array bounds of 'struct layer_status[1]' [-Warray-bounds]
  132 |   kmb->plane_status[plane_id].ctrl = LCD_CTRL_GL1_ENABLE;
      |   ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from drivers/gpu/drm/kmb/kmb_plane.c:17:
drivers/gpu/drm/kmb/kmb_drv.h:48:23: note: while referencing 'plane_status'
   48 |  struct layer_status  plane_status[KMB_MAX_PLANES];
      |                       ^~~~~~~~~~~~
drivers/gpu/drm/kmb/kmb_plane.c:129:20: warning: array subscript 1 is above array bounds of 'struct layer_status[1]' [-Warray-bounds]
  129 |   kmb->plane_status[plane_id].ctrl = LCD_CTRL_VL2_ENABLE;
      |   ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from drivers/gpu/drm/kmb/kmb_plane.c:17:
drivers/gpu/drm/kmb/kmb_drv.h:48:23: note: while referencing 'plane_status'
   48 |  struct layer_status  plane_status[KMB_MAX_PLANES];
      |                       ^~~~~~~~~~~~

Exposed by commit

  656256c0d67c ("Makefile: Enable -Warray-bounds")

Introduced by commit

  7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display")

from v5.11-rc1.
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next: build warning after merge of the kspp tree
@ 2024-02-08  3:48 Stephen Rothwell
  2024-02-10  6:44 ` Kees Cook
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2024-02-08  3:48 UTC (permalink / raw)
  To: Kees Cook; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the kspp tree, today's linux-next build (htmldocs) produced
this warning:

include/linux/string.h:142: warning: Function parameter or struct member 'dst' not described in 'strscpy_pad'
include/linux/string.h:142: warning: Excess function parameter 'dest' description in 'strscpy_pad'
include/linux/string.h:142: warning: Excess function parameter 'count' description in 'strscpy_pad'

Introduced by commit

  0bf7961afff1 ("string: Allow 2-argument strscpy_pad()")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next: build warning after merge of the kspp tree
@ 2024-02-22  5:56 Stephen Rothwell
  0 siblings, 0 replies; 11+ messages in thread
From: Stephen Rothwell @ 2024-02-22  5:56 UTC (permalink / raw)
  To: Kees Cook; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the kspp tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

arch/arm/boot/compressed/misc.c:157:6: warning: no previous prototype for '__fortify_panic' [-Wmissing-prototypes]
  157 | void __fortify_panic(const u8 reason, size_t avail, size_t size)
      |      ^~~~~~~~~~~~~~~

Introduced by commit

  0f4459080884 ("fortify: Split reporting and avoid passing string pointer")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next: build warning after merge of the kspp tree
@ 2024-03-07  6:16 Stephen Rothwell
  2024-03-07 19:25 ` Kees Cook
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2024-03-07  6:16 UTC (permalink / raw)
  To: Kees Cook; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the kspp tree, today's linux-next build (htmldocs) produced
this warning:

include/linux/overflow.h:408: warning: Excess function parameter 'initializer...' description in '_DEFINE_FLEX'

Introduced by commit

  014dc22af922 ("overflow: Change DEFINE_FLEX to take __counted_by member")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-03-07 19:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-30  8:44 linux-next: build warning after merge of the kspp tree Stephen Rothwell
2021-08-30 23:50 ` Kees Cook
2021-08-31  0:49   ` Stephen Rothwell
2021-09-06  5:41 ` Stephen Rothwell
2021-09-06 17:06   ` Kees Cook
2021-09-06 17:12     ` Linus Torvalds
  -- strict thread matches above, loose matches on Subject: below --
2024-02-08  3:48 Stephen Rothwell
2024-02-10  6:44 ` Kees Cook
2024-02-22  5:56 Stephen Rothwell
2024-03-07  6:16 Stephen Rothwell
2024-03-07 19:25 ` Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).