diff options
| author | Jamie Hill-Daniel <[email protected]> | 2022-01-18 07:06:04 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2022-01-18 07:23:19 +0000 |
| commit | 722d94847de29310e8aa03fcbdb41fc92c521756 (patch) | |
| tree | d2c1b136bdbac7375aa5c7e8c37726f2999ae2c7 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | Merge tag 'pm-5.17-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ra... (diff) | |
| download | kernel-722d94847de29310e8aa03fcbdb41fc92c521756.tar.gz kernel-722d94847de29310e8aa03fcbdb41fc92c521756.zip | |
vfs: fs_context: fix up param length parsing in legacy_parse_param
The "PAGE_SIZE - 2 - size" calculation in legacy_parse_param() is an
unsigned type so a large value of "size" results in a high positive
value instead of a negative value as expected. Fix this by getting rid
of the subtraction.
Signed-off-by: Jamie Hill-Daniel <[email protected]>
Signed-off-by: William Liu <[email protected]>
Tested-by: Salvatore Bonaccorso <[email protected]>
Tested-by: Thadeu Lima de Souza Cascardo <[email protected]>
Acked-by: Dan Carpenter <[email protected]>
Acked-by: Al Viro <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
