aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/lapbether.c
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2021-03-18 18:59:29 +0000
committerDavid S. Miller <[email protected]>2021-03-18 23:20:34 +0000
commite5d4e96b44cf20330c970c3e30ea0a8c3a23feca (patch)
treeda22178ff3813b1baab07f36004ddd65bb9d1280 /drivers/net/wan/lapbether.c
parentnet: ipa: use upper_32_bits() (diff)
downloadkernel-e5d4e96b44cf20330c970c3e30ea0a8c3a23feca.tar.gz
kernel-e5d4e96b44cf20330c970c3e30ea0a8c3a23feca.zip
net: ipa: fix table alignment requirement
We currently have a build-time check to ensure that the minimum DMA allocation alignment satisfies the constraint that IPA filter and route tables must point to rules that are 128-byte aligned. But what's really important is that the actual allocated DMA memory has that alignment, even if the minimum is smaller than that. Remove the BUILD_BUG_ON() call checking against minimim DMA alignment and instead verify at rutime that the allocated memory is properly aligned. Signed-off-by: Alex Elder <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions