From 0c542a69cbcd1fefad32c59cea7a80413fe60922 Mon Sep 17 00:00:00 2001 From: Caleb Sander Mateos Date: Fri, 28 Feb 2025 15:15:13 -0700 Subject: io_uring/uring_cmd: specify io_uring_cmd_import_fixed() pointer type io_uring_cmd_import_fixed() takes a struct io_uring_cmd *, but the type of the ioucmd parameter is void *. Make the pointer type explicit so the compiler can type check it. Signed-off-by: Caleb Sander Mateos Link: https://lore.kernel.org/r/20250228221514.604350-1-csander@purestorage.com Signed-off-by: Jens Axboe --- io_uring/uring_cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'io_uring/uring_cmd.c') diff --git a/io_uring/uring_cmd.c b/io_uring/uring_cmd.c index 31d5e0948af1..de39b602aa82 100644 --- a/io_uring/uring_cmd.c +++ b/io_uring/uring_cmd.c @@ -245,7 +245,8 @@ int io_uring_cmd(struct io_kiocb *req, unsigned int issue_flags) } int io_uring_cmd_import_fixed(u64 ubuf, unsigned long len, int rw, - struct iov_iter *iter, void *ioucmd, + struct iov_iter *iter, + struct io_uring_cmd *ioucmd, unsigned int issue_flags) { struct io_kiocb *req = cmd_to_io_kiocb(ioucmd); -- cgit v1.2.3 a>summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2021-12-20clocksource/drivers: Add MStar MSC313e timer supportRomain Perier4-0/+255
2021-12-14clocksource/drivers/pistachio: Fix -Wunused-but-set-variable warningDrew Fustini1-1/+2
2021-12-14clocksource/drivers/timer-imx-sysctr: Set cpumask to cpu_possible_maskPeng Fan1-1/+1
2021-12-09clocksource/drivers/imx-sysctr: Mark two variable with __ro_after_initPeng Fan1-2/+2
2021-12-09clocksource/drivers/renesas,ostm: Make RENESAS_OSTM symbol visibleBiju Das1-1/+2
2021-12-09clocksource/drivers/renesas-ostm: Add RZ/G2L OSTM supportBiju Das1-1/+38
2021-12-09dt-bindings: timer: renesas: ostm: Document Renesas RZ/G2L OSTMBiju Das1-3/+17
2021-12-09clocksource/drivers/exynos_mct: Fix silly typo resulting in checkpatch warningWill Deacon1-1/+1
2021-11-29dt-bindings: timer: tpm-timer: Add imx8ulp compatible stringJacky Bai1-1/+5
2021-11-19reset: Add of_reset_control_get_optional_exclusive()Biju Das1-0/+20
2021-11-16clocksource/drivers/exynos_mct: Refactor resources allocationMarek Szyprowski1-20/+30
2021-11-14Linux 5.16-rc1v5.16-rc1Linus Torvalds1-2/+2
2021-11-14kconfig: Add support for -Wimplicit-fallthroughGustavo A. R. Silva2-5/+6
2021-11-13perf tests: Remove bash constructs from stat_all_pmu.shJames Clark1-2/+2
2021-11-13perf tests: Remove bash construct from record+zstd_comp_decomp.shJames Clark1-1/+1
2021-11-13perf test: Remove bash construct from stat_bpf_counters.sh testJames Clark1-1/+1
2021-11-13perf bench futex: Fix memory leak of perf_cpu_map__new()Sohaib Mohamed4-0/+4
2021-11-13tools arch x86: Sync the msr-index.h copy with the kernel sourcesArnaldo Carvalho de Melo1-0/+2
2021-11-13tools headers UAPI: Sync drm/i915_drm.h with the kernel sourcesArnaldo Carvalho de Melo1-1/+241
2021-11-13tools headers UAPI: Sync sound/asound.h with the kernel sourcesArnaldo Carvalho de Melo1-1/+1
2021-11-13tools headers UAPI: Sync linux/prctl.h with the kernel sourcesArnaldo Carvalho de Melo1-0/+3
2021-11-13tools headers UAPI: Sync arch prctl headers with the kernel sourcesArnaldo Carvalho de Melo1-0/+4
2021-11-13perf tools: Add more weak libbpf functionsJiri Olsa1-0/+27
2021-11-13perf bpf: Avoid memory leak from perf_env__insert_btf()Ian Rogers3-3/+10
2021-11-13perf symbols: Factor out annotation init/exitIan Rogers3-1/+22
2021-11-13perf symbols: Bit pack to save a byteIan Rogers2-3/+3
2021-11-13perf symbols: Add documentation to 'struct symbol'Ian Rogers1-3/+14
2021-11-13tools headers UAPI: Sync files changed by new futex_waitv syscallArnaldo Carvalho de Melo2-1/+5
2021-11-13perf test bpf: Use ARRAY_CHECK() instead of ad-hoc equivalent, addressing arr...Guo Zhengkui1-1/+1
2021-11-13perf arm-spe: Support hardware-based PID tracingGerman Gomez1-29/+70
2021-11-13perf arm-spe: Save context ID in recordGerman Gomez2-0/+3
2021-11-13perf arm-spe: Update --switch-events docs in 'perf record'German Gomez2-2/+4
2021-11-13perf arm-spe: Track task context switch for cpu-mode eventsNamhyung Kim2-1/+30