scsi: ses: check return code from ses_recv_diag()
We should be checking the return code from ses_recv_diag() to avoid accessing invalid data. Signed-off-by: NHannes Reinecke <hare@suse.com> Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
Showing
想要评论请 注册 或 登录