From: Paolo 'Blaisorblade' Giarrusso Date: Sun, 6 May 2007 21:51:15 +0000 (-0700) Subject: uml: Replace one-element array with zero-element array X-Git-Tag: v2.6.22-rc1~868 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c74c69b442364125fd13259ecaa4cd2ee43b9172;p=pandora-kernel.git uml: Replace one-element array with zero-element array To look at users I did: $ find arch/um/ include/asm-um -name '*.[ch]'|xargs grep -r 'net_kern\.h' +-l|xargs grep '\' Most users just cast user to the appropriate pointer, the remaining ones are fixed here. In net_kern.c, I'm almost sure that save trick is not needed anymore, but I've not verified it. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed