https://github.com/torvalds/linux
Revision 8e7ee27095aee87b5db1b0061e2ceea5878a1bbd authored by David Rientjes on 26 August 2009, 21:29:21 UTC, committed by Linus Torvalds on 27 August 2009, 03:06:52 UTC
The `parts' member of struct flex_array should evaluate to an incomplete
type so that sizeof() cannot be used and C99 does not require the
zero-length specification.

Signed-off-by: David Rientjes <rientjes@google.com>
Acked-by: Dave Hansen <dave@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 105b6e8
History
Tip revision: 8e7ee27095aee87b5db1b0061e2ceea5878a1bbd authored by David Rientjes on 26 August 2009, 21:29:21 UTC
flex_array: declare parts member to have incomplete type
Tip revision: 8e7ee27
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 148.6 KB
Makefile -rw-r--r-- 53.9 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top