diff options
| author | Dan Williams <[email protected]> | 2025-04-10 18:27:40 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2025-04-11 23:45:43 +0000 |
| commit | 7bdd8f75d16557ee4111c7b2678463cabf0f04c3 (patch) | |
| tree | 6ff91bc3b11d705c0d713739fade296549759230 /drivers/fpga/tests/fpga-bridge-test.c | |
| parent | Linux 6.15-rc1 (diff) | |
| download | kernel-7bdd8f75d16557ee4111c7b2678463cabf0f04c3.tar.gz kernel-7bdd8f75d16557ee4111c7b2678463cabf0f04c3.zip | |
fwctl/cxl: Fix uuid_t usage in uapi
The uuid_t type is kernel internal, and Paul reports the following build
error when it is used in a uapi header:
usr/include/cxl/features.h:59:9: error: unknown type name ‘uuid_t’
Create a uuid type (__uapi_uuid_t) compatible with the longstanding
definition uuid/uuid.h for userspace builds, and use uuid_t directly for
kernel builds.
Fixes: 9b8e73cdb141 ("cxl: Move cxl feature command structs to user header")
Link: https://patch.msgid.link/r/174430961702.617339.13963021112051029933.stgit@dwillia2-xfh.jf.intel.com
Suggested-by: Jason Gunthorpe <[email protected]>
Reported-by: Paul E. McKenney <[email protected]>
Closes: http://lore.kernel.org/f6489337-67c7-48c8-b48a-58603ec15328@paulmck-laptop
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Dan Williams <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Tested-by: Paul E. McKenney <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions
