Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firewire: core: check for missing struct update at build time, not ru…
…n 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 <[email protected]>
- Loading branch information