Re: [PATCH v1 2/2] io_uring: uapi: Don't use a zero-size array
From: Pavel Begunkov
Date: Wed Nov 16 2022 - 05:16:34 EST
On 11/15/22 21:29, Ammar Faizi wrote:
From: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx>
Don't use a zero-size array because it doesn't allow the user to
compile an app that uses liburing with the `-pedantic-errors` flag:
Ammar, I'd strongly encourage you to at least compile your
patches or even better actually test them. There is an explicit
BUILD_BUG_ON() violated by this change.
--
Pavel Begunkov