[PATCH 4.9 022/101] scsi: csiostor: Avoid content leaks and casts