aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-microchip-core.c
diff options
context:
space:
mode:
authorLucas De Marchi <[email protected]>2025-07-10 21:34:41 +0000
committerLucas De Marchi <[email protected]>2025-07-17 12:51:51 +0000
commit057a7d66f98eda9257e46fe44ee5750e0a6eec66 (patch)
tree89cc68088152dad9ef61e97f38e137c743e6328e /drivers/pwm/pwm-microchip-core.c
parentdrm/xe: Move page fault init after topology init (diff)
downloadkernel-057a7d66f98eda9257e46fe44ee5750e0a6eec66.tar.gz
kernel-057a7d66f98eda9257e46fe44ee5750e0a6eec66.zip
drm/xe/migrate: Fix alignment check
The check would fail if the address is unaligned, but not when accounting the offset. Instead of `buf | offset` it should have been `buf + offset`. To make it more readable and also drop the uintptr_t, just use the IS_ALIGNED() macro. Fixes: 270172f64b11 ("drm/xe: Update xe_ttm_access_memory to use GPU for non-visible access") Reviewed-by: Matthew Brost <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lucas De Marchi <[email protected]> (cherry picked from commit 81e139db6900503a2e68009764054fad128fbf95) Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-microchip-core.c')
0 files changed, 0 insertions, 0 deletions