diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-10-23 12:14:00 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-25 07:42:35 -0600 |
commit | d6a644a795451d5fd063a5c08d6bb3a91d021887 (patch) | |
tree | c9598ebf0b40c91361b94310dd01a0bea351d1dc /drivers/i2c/i2c-slave-testunit.c | |
parent | afb7f56fc624fb6ade8fde70a67eda4d831b4ed0 (diff) | |
download | linux-d6a644a795451d5fd063a5c08d6bb3a91d021887.tar.bz2 |
io_uring: clean up timeout async_data allocation
opcode prep functions are one of the first things that are called, we
can't have ->async_data allocated at this point and it's certainly a
bug. Reflect this assumption in io_timeout_prep() and add a WARN_ONCE
just in case.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/75a28ca7dbcc5af8b6cd9092819e8384c24dedd4.1634987320.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/i2c/i2c-slave-testunit.c')
0 files changed, 0 insertions, 0 deletions