diff options
| author | Pavel Begunkov <[email protected]> | 2022-07-07 14:00:38 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-07-07 23:33:01 +0000 |
| commit | bdb2c48e4b38e6dbe82533b437468999ba3ae498 (patch) | |
| tree | 263708808cce5a4d1fe33f70350cdceddfcfe459 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | io_uring: fix provided buffer import (diff) | |
| download | kernel-bdb2c48e4b38e6dbe82533b437468999ba3ae498.tar.gz kernel-bdb2c48e4b38e6dbe82533b437468999ba3ae498.zip | |
io_uring: explicit sqe padding for ioctl commands
32 bit sqe->cmd_op is an union with 64 bit values. It's always a good
idea to do padding explicitly. Also zero check it in prep, so it can be
used in the future if needed without compatibility concerns.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/e6b95a05e970af79000435166185e85b196b2ba2.1657202417.git.asml.silence@gmail.com
[axboe: turn bitwise OR into logical variant]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
