Thread (5 messages) 5 messages, 3 authors, 2023-05-30

Re: [PATCH v2] md/raid5: Convert stripe_head's "dev" to flexible array member

From: Christoph Hellwig <hch@infradead.org>
Date: 2023-05-23 05:56:05
Also in: linux-hardening, lkml

On Mon, May 22, 2023 at 02:21:15PM -0700, Kees Cook wrote:
-	} dev[1]; /* allocated with extra space depending of RAID geometry */
+	} dev[]; /* allocated with extra space depending of RAID geometry */
I still think this should be:

	/* allocated depending of RAID geometry */

now or dropped entirely, as the extra only made sense when it always
had that magic one.

The actual code changes looks good to me:

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help