diff options
| author | Li Zhijian <[email protected]> | 2025-07-17 03:12:51 +0000 |
|---|---|---|
| committer | Dave Jiang <[email protected]> | 2025-07-18 02:59:32 +0000 |
| commit | 3796f2985c267b90052613cf0b379e51c61e9367 (patch) | |
| tree | 1d1be419630629b0b8fe4410c0c56de42138e639 /rust/helpers/task.c | |
| parent | cleanup: Fix documentation build error for ACQUIRE updates (diff) | |
| download | kernel-3796f2985c267b90052613cf0b379e51c61e9367.tar.gz kernel-3796f2985c267b90052613cf0b379e51c61e9367.zip | |
cxl: Fix -Werror=return-type in cxl_decoder_detach()
Fix following compiling errors:
In file included from ../drivers/cxl/core/pmu.c:10:
../drivers/cxl/core/core.h: In function ‘cxl_decoder_detach’:
../drivers/cxl/core/core.h:65:1: error: no return statement in function returning non-void [-Werror=return-type]
}
^
cc1: some warnings being treated as errors
CC [M] drivers/nvdimm/claim.o
make[6]: *** [../scripts/Makefile.build:287: drivers/cxl/core/pmu.o] Error 1
make[6]: *** Waiting for unfinished jobs....
CC [M] drivers/infiniband/core/verbs.o
Fixes: b3a88225519c ("cxl/region: Consolidate cxl_decoder_kill_region() and cxl_region_detach()")
Signed-off-by: Li Zhijian <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
