SATA: check for return value from sata functions