diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-05-22 23:16:27 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-06-01 12:48:49 +0200 |
commit | e5333db9285e088a98f4bad5147bfb0b4665fafb (patch) | |
tree | 10a46852f80d27a4eef4f51ae847c7c541c0fd07 /drivers/firewire/fw-device.h | |
parent | 92368890d551794ee8d7e90477d8498bb7f82a9b (diff) | |
download | blackbird-op-linux-e5333db9285e088a98f4bad5147bfb0b4665fafb.tar.gz blackbird-op-linux-e5333db9285e088a98f4bad5147bfb0b4665fafb.zip |
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 <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-device.h')
0 files changed, 0 insertions, 0 deletions