From: Ben Hutchings Date: Wed, 12 Feb 2014 22:14:53 +0000 (+0000) Subject: ethtool: Document the general convention for VLAs in kernel space X-Git-Tag: v3.15-rc1~113^2~385^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e201c857b68ea994c9ac85718eb3d50dcf40d92;p=pandora-kernel.git ethtool: Document the general convention for VLAs in kernel space Various ethtool command structures are declared with zero-length array at the end which are intended to be variable-length in userland (relying on lack of compiler bounds checking). However, in the kernel the structure and array are always allocated and passed to driver operations separately. Make that explicit. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed