summaryrefslogtreecommitdiff
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2020-11-09 10:56:32 -0600
committerJakub Kicinski <kuba@kernel.org>2020-11-11 14:07:00 -0800
commit5b8b2262b3b439a7d6e29e35051720a0fe6db518 (patch)
treeb0dc7c54b5ab244bfce2ad0438e343daa21c1497 /drivers/net/bonding
parent70408949a35f1a31c327c69b6a187635cb0305fa (diff)
net: ipa: don't break build on large transaction size
The following call in ipa_validate_build() is erroneous: BUILD_BUG_ON(sizeof(struct gsi_trans) > 128); The fact is, it is not a bug for the size of a GSI transaction to be bigger than 128 bytes. The correct operation of the driver is not dependent on the size of this structure. The only consequence of the transaction being large is that the amount of memory required is larger. The problem this was trying to flag is that a *slight* increase in the size of this structure will have a disproportionate effect on the amount of memory used. E.g. if the structure grew to 132 bytes the memory requirement for the transaction arrays would be about double. With various debugging build flags enabled, the size grows to 160 bytes. But there's no reason to treat that as a build-time bug. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/bonding')
0 files changed, 0 insertions, 0 deletions