Pull io_uring fix from Jens Axboe: "A single fix for a parameter type which affects 32-bit" * tag 'io_uring-6.13-20241207' of git://git.kernel.dk/linux: io_uring: Change res2 parameter type in io_uring_cmd_done
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -43,7 +43,7 @@ int io_uring_cmd_import_fixed(u64 ubuf, unsigned long len, int rw, · 42 unmodified lines | |||
| 43 | * Note: the caller should never hard code @issue_flags and is only allowed | 43 | * Note: the caller should never hard code @issue_flags and is only allowed |
| 44 | * to pass the mask provided by the core io_uring code. | 44 | * to pass the mask provided by the core io_uring code. |
| 45 | */ | 45 | */ |
| 46 | void io_uring_cmd_done(struct io_uring_cmd *cmd, ssize_t ret, ssize_t res2, | 46 | void io_uring_cmd_done(struct io_uring_cmd *cmd, ssize_t ret, u64 res2, |
| 47 | unsigned issue_flags); | 47 | unsigned issue_flags); |
| 48 | 48 | ||
| 49 | void __io_uring_cmd_do_in_task(struct io_uring_cmd *ioucmd, | 49 | void __io_uring_cmd_do_in_task(struct io_uring_cmd *ioucmd, |
| @@ -67,7 +67,7 @@ static inline int io_uring_cmd_import_fixed(u64 ubuf, unsigned long len, int rw, · 17 unmodified lines | |||
| 67 | return -EOPNOTSUPP; | 67 | return -EOPNOTSUPP; |
| 68 | } | 68 | } |
| 69 | static inline void io_uring_cmd_done(struct io_uring_cmd *cmd, ssize_t ret, | 69 | static inline void io_uring_cmd_done(struct io_uring_cmd *cmd, ssize_t ret, |
| 70 | ssize_t ret2, unsigned issue_flags) | 70 | u64 ret2, unsigned issue_flags) |
| 71 | { | 71 | { |
| 72 | } | 72 | } |
| 73 | static inline void __io_uring_cmd_do_in_task(struct io_uring_cmd *ioucmd, | 73 | static inline void __io_uring_cmd_do_in_task(struct io_uring_cmd *ioucmd, |