James, > efct_hw_iotype_is_originator is returning a negative (-EIO) status > which doesn't make sense for a u8 function type. > > Reviewing the code, the function only needs to return true/false, thus > a bool status is most appropriate. > > Change the function return type and patch up the one callee as the > bool inverses the if check. Applied to 5.14/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering