Ensure functions return a value
Ensure that the scsi_write
function returns a value
otherwise, gcc errored out
because non-void functions are supposed to return a value.
Alternatively, we could change the declaration to void
.
Ensure that the scsi_write
function returns a value
otherwise, gcc errored out
because non-void functions are supposed to return a value.
Alternatively, we could change the declaration to void
.
Probably should eventually add return status, so I think returning 0 is ok for now.
added Release1.0 hacktoberfest-accepted labels
merged