NAME¶
cxl_get_psl_revision - get the revision level of the current PSL image loaded on
the CXL device
SYNOPSIS¶
#include <libcxl.h>
int cxl_get_psl_revision(struct cxl_adapter_h
*adapter, long *valp);
DESCRIPTION¶
cxl_get_psl_revision() copies the revision level of the current PSL image
loaded on the CXL adapter to the long integer pointed to by
valp.
RETURN VALUE¶
On success, 0 is returned. On error, -1 is returned and errno is set
appropriately.
ERRORS¶
- EINVAL
- Invalid argument value.
- ENOMEM
- Insufficient memory.