Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1705797

variable length array in structure

From Sodagudi Prasad <psodagud@codeaurora.org>
Newsgroups linux.kernel
Subject variable length array in structure
Date 2017-08-07 20:50 +0200
Message-ID <ubVge-45a-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Arnd Bergmann,

Following commit have introduced compilation issue.
commit 2df2c3402fc81918a888e1ec711369f6014471f2
Author: Arnd Bergmann <arnd@arndb.de>
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
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora 
Forum,
Linux Foundation Collaborative Project

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

variable length array in structure Sodagudi Prasad <psodagud@codeaurora.org> - 2017-08-07 20:50 +0200

csiph-web