]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: ipa: relax pool entry size requirement
authorAlex Elder <elder@linaro.org>
Fri, 9 Apr 2021 18:07:16 +0000 (13:07 -0500)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Apr 2021 03:57:24 +0000 (20:57 -0700)
commit7ad3bd52cbcb7d263d320a9dca5cfe409734f62e
tree544e88efd7d0f9cefd2f12919a939609cef711fb
parent8859a44ea0df92bccdc942ef15781ebbfe0ad9f3
net: ipa: relax pool entry size requirement

I no longer know why a validation check ensured the size of an entry
passed to gsi_trans_pool_init() was restricted to be a multiple of 8.
For 32-bit builds, this condition doesn't always hold, and for DMA
pools, the size is rounded up to a power of 2 anyway.

Remove this restriction.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi_trans.c