diff options
| author | Liam R. Howlett <[email protected]> | 2023-01-20 16:26:38 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-10 00:51:36 +0000 |
| commit | cc8d1b097de78bd25b7b1ed32018b21cecbf3f6c (patch) | |
| tree | b6b7cf6fdeddfa5ca6554255c1278a414c1766b3 /drivers/gpu/drm/omapdrm/omap_gem.c | |
| parent | mm: add vma iterator to vma_adjust() arguments (diff) | |
| download | kernel-cc8d1b097de78bd25b7b1ed32018b21cecbf3f6c.tar.gz kernel-cc8d1b097de78bd25b7b1ed32018b21cecbf3f6c.zip | |
mmap: clean up mmap_region() unrolling
Move logic of unrolling to the error path as apposed to duplicating it
within the function body. This reduces the potential of missing an update
to one path when making changes.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Cc: Li Zetao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions
