[PATCH v2 1/5] misc: pci_endpoint_test: Fix the return value of IOCTL