On Thu, 1 May 2025 at 16:28, Linus Torvalds torvalds@linux-foundation.org wrote:
How long has that been valid? Because this is certainly new to the kernel, and sparse does complain about this initializer.
Sparse is clearly wrong.
I went back to my old K&R book, and the "perhaps in braces" languager is there in that original (ok, so I only have the "newer" ANSI version of K&R, so I'm not checking the _original_ original).
I guess we might as well ignore the sparse problem, since sparse ends up having issues with so many other newer things we're doing, and we don't have anybody maintaining it.
Linus