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)
commit8c35ad20270de91d0f3bfe521daa3b7983ee8db7
tree49422eea35b4d856bd11aa4ae11387728b678fff
parent2b3ff6319e2312656fbefe0209bef02d58b6836a
target: check hex2bin result

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>
drivers/target/target_core_fabric_lib.c