firewire: core: check for missing struct update at build time, not run time
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 22 May 2009 21:16:27 +0000 (23:16 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 1 Jun 2009 10:48:49 +0000 (12:48 +0200)
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 <stefanr@s5r6.in-berlin.de>

No differences found