Skip to contentSkip to conversation

variable length array in structure

DISCUSSION Sodagudi Prasad 1 participant 1 message Aug 7, 2017

lore
Share & tools
lore
#0 lore raw

Hi Arnd Bergmann,

Following commit have introduced compilation issue. commit 2df2c3402fc81918a888e1ec711369f6014471f2

Author: Arnd Bergmann <[email protected]>
Date:   Sat Aug 5 21:57:46 2017 -0400

ext4: fix warning about stack corruption

Observed following error -
/fs/ext4/mballoc.c:2303:17: error: fields must have a constant size: 'variable length array in structure' extension will never be supported

                ext4_grpblk_t counters[blocksize_bits + 2];

-Thanks, Prasad

Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
Linux Foundation Collaborative Project