target: check hex2bin result
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Fri, 16 Sep 2011 12:50:30 +0000 (08:50 -0400)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 21 Sep 2011 12:27:43 +0000 (08:27 -0400)
Now that hex2bin does error checking, on error add debugging error msg.

Changelog v1 (update):
- fixed definition of 'ret'
- hex2bin now returns an int

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>

No differences found