summaryrefslogtreecommitdiff
path: root/drivers/phy/eswin/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorMostafa Saleh <smostafa@google.com>2026-05-13 21:52:01 +0000
committerJoerg Roedel <joerg.roedel@amd.com>2026-05-19 11:03:45 +0200
commit4315401bad65582b28d99fb56fb816797fce9fc3 (patch)
tree9f354b1ad7816a65f875554411ed497180b16b59 /drivers/phy/eswin/git@git.tavy.me:linux.git
parent33730f06881640894d2b4228b04d4f3c7351f6c0 (diff)
iommu/io-pgtable-arm: Use consistent sizes for page allocation and freeing
At the moment we use alloc_size to allocate memory but then there is a logical error where we just size in the error and free path, which might be smaller. Also we size to do DMA-API operations, which is OK, but confusing. Instead of this error-prone handling, just set size to alloc_size and use it everywhere. Signed-off-by: Mostafa Saleh <smostafa@google.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions