On Wed, 10 Jul 2013 21:21:11 +0200 Stefan Tauner stefan.tauner@student.tuwien.ac.at wrote:
- Export msg_perr_strerror()
- Add return values to sp_flush_stream(), sp_pass_writen(), sp_execute_opbuf(), sp_execute_opbuf_noflush(), sp_check_opbuf_usage(), sp_do_read_n().
- Use those return values to propagate errors instead of exiting. In some places this has to wait for core API changes (error handling for chip_readb, chip_readn, chip_write) hence comments are added instead.
Signed-off-by: Stefan Tauner stefan.tauner@student.tuwien.ac.at
Slightly refined, self-acked and committed in r1719.