diff options
| author | Dirk Gouders <dirk@gouders.net> | 2026-09-14 13:01:09 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-09-21 03:56:46 -0600 |
| commit | 687cb38c4330d52d58dbf426a3eb523850052d10 (patch) | |
| tree | da1609c4457f7dfed9a88bc86ca6a39c51853d60 /tools/lib/python/kdoc/python_version.py | |
| parent | 327c428ba79b13e4cc5253333a9d5c0aa5579bdf (diff) | |
| download | linux-next-687cb38c4330d52d58dbf426a3eb523850052d10.tar.gz linux-next-687cb38c4330d52d58dbf426a3eb523850052d10.zip | |
selftests: ublk: fix unused_result error
Commit 166b476b8dee (selftests/ublk: add shared memory zero-copy
support in kublk, 2026-03-31) introduced a write(2), ignoring its
return value and thus causing an error, when building.
Fix this by using the common workaround "(void)!" to trick the
compiler the result is being used.
Signed-off-by: Dirk Gouders <dirk@gouders.net>
Reviewed-by: Ming Lei <tom.leiming@gmail.com>
Link: https://patch.msgid.link/20260914110145.41627-2-dirk@gouders.net
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
