aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-04-27 16:13:52 +0100
committerJens Axboe <[email protected]>2021-04-29 13:26:18 -0600
commitdddca22636c9062f284e755e2a49fb8863db8a82 (patch)
treeddee4b3969776070de71d1e941c676bc19bd1e5c /drivers/usb/cdns3/cdns3-imx.c
parent2840f710f23a3a867426637393acbdfa1f4f1d59 (diff)
io_uring: dont overlap internal and user req flags
CQE flags take one byte that we store in req->flags together with other REQ_F_* internal flags. CQE flags are copied directly into req and then verified that requires some handling on failures, e.g. to make sure that that copy doesn't set some of the internal flags. Move all internal flags to take bits after the first byte, so we don't need extra handling and make it safer overall. Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/b8b5b02d1ab9d786fcc7db4a3fe86db6b70b8987.1619536280.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions