From: Stefan Richter Date: Fri, 22 May 2009 21:16:27 +0000 (+0200) Subject: firewire: core: check for missing struct update at build time, not run time X-Git-Tag: v2.6.31-rc1~301^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5333db9285e088a98f4bad5147bfb0b4665fafb;p=pandora-kernel.git firewire: core: check for missing struct update at build time, not run time struct fw_attribute_group.attrs.[] must have enough room for all attributes. This can and should be checked at build time. Our previous check at run time was a little late and not reliable since most of the time less than the available attributes are populated. Furthermore, omit an increment of an index at its last usage. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed