public inbox for linux-sparse@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] kbuild: Switch from -Wvla to -Wvla-larger-than=0
       [not found] <20250418213235.work.532-kees@kernel.org>
@ 2025-04-21  9:12 ` Christoph Hellwig
  2025-04-21 16:43   ` Kees Cook
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2025-04-21  9:12 UTC (permalink / raw)
  To: Kees Cook
  Cc: Christoph Hellwig, Masahiro Yamada, Andrew Morton,
	Andrey Ryabinin, Alexander Potapenko, Andrey Konovalov,
	Dmitry Vyukov, Vincenzo Frascino, Nathan Chancellor,
	Nicolas Schier, Nick Desaulniers, Bill Wendling, Justin Stitt,
	kasan-dev, linux-mm, linux-kbuild, llvm, linux-kernel,
	linux-hardening, linux-sparse, luc.vanoostenryck

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>

Note that sparse currently also can't cope with VLAs including the
prototype syntax, which also needs addressing.


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

* Re: [PATCH] kbuild: Switch from -Wvla to -Wvla-larger-than=0
  2025-04-21  9:12 ` [PATCH] kbuild: Switch from -Wvla to -Wvla-larger-than=0 Christoph Hellwig
@ 2025-04-21 16:43   ` Kees Cook
  0 siblings, 0 replies; 2+ messages in thread
From: Kees Cook @ 2025-04-21 16:43 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Masahiro Yamada, Andrew Morton, Andrey Ryabinin,
	Alexander Potapenko, Andrey Konovalov, Dmitry Vyukov,
	Vincenzo Frascino, Nathan Chancellor, Nicolas Schier,
	Nick Desaulniers, Bill Wendling, Justin Stitt, kasan-dev,
	linux-mm, linux-kbuild, llvm, linux-kernel, linux-hardening,
	linux-sparse, luc.vanoostenryck

On Mon, Apr 21, 2025 at 11:12:33AM +0200, Christoph Hellwig wrote:
> Looks good:
> 
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> 
> Note that sparse currently also can't cope with VLAs including the
> prototype syntax, which also needs addressing.

Hm, it looks like it's been over a year since a commit to the sparse
git.

Luc, are function prototypes with VLAs likely to be supported by sparse
soon?

-- 
Kees Cook

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

end of thread, other threads:[~2025-04-21 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250418213235.work.532-kees@kernel.org>
2025-04-21  9:12 ` [PATCH] kbuild: Switch from -Wvla to -Wvla-larger-than=0 Christoph Hellwig
2025-04-21 16:43   ` Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox