When closing AHI device with debug output on I noticed this message. Does anyone know what it means?
Warning: Expected I/O request 0x00000000.
According to the AHI device source in Device/device.c it stores a pointer to the AHIRequest in a private pointer inside the AHIRequest on open. Then prints the above message if it differs on closing.
When I first saw that it looked scary as I thought it was saying the AHIRequest pointer should be null! I just think the message is badly written. I had to look in the code to see what it means, is that it expected an AHIRequest pointer to be set but it's null instead, in some private pointer, it fails to tell you about.
Still it gives a warning. Have I missed something in my code? My code does a WaitIO() on all pending AHIRequests before closing the device so don't know what this warning is about.