aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorPankaj Raghav <[email protected]>2025-06-26 11:32:23 +0000
committerChristian Brauner <[email protected]>2025-07-08 14:48:12 +0000
commit77eb64439ad52d8afb57bb4dae24a2743c68f50d (patch)
treef77ed3234300651a10cb7afd2c8b1b422ffa9a2a /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentfs: Prevent file descriptor table allocations exceeding INT_MAX (diff)
downloadkernel-77eb64439ad52d8afb57bb4dae24a2743c68f50d.tar.gz
kernel-77eb64439ad52d8afb57bb4dae24a2743c68f50d.zip
fs/buffer: remove the min and max limit checks in __getblk_slow()
All filesystems will already check the max and min value of their block size during their initialization. __getblk_slow() is a very low-level function to have these checks. Remove them and only check for logical block size alignment. As this check with logical block size alignment might never trigger, add WARN_ON_ONCE() to the check. As WARN_ON_ONCE() will already print the stack, remove the call to dump_stack(). Suggested-by: Matthew Wilcox <[email protected]> Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Pankaj Raghav <[email protected]> Link: https://lore.kernel.org/[email protected] Reviewed-by: Baokun Li <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions