Searched refs:vpd_buf (Results 1 – 1 of 1) sorted by relevance
785 unsigned char *vpd_buf; in scsi_attach_vpd() local790 vpd_buf = kmalloc(vpd_len, GFP_KERNEL); in scsi_attach_vpd()791 if (!vpd_buf) in scsi_attach_vpd()795 result = scsi_vpd_inquiry(sdev, vpd_buf, 0, vpd_len); in scsi_attach_vpd()797 kfree(vpd_buf); in scsi_attach_vpd()802 kfree(vpd_buf); in scsi_attach_vpd()807 if (vpd_buf[i] == 0x80) in scsi_attach_vpd()809 if (vpd_buf[i] == 0x83) in scsi_attach_vpd()812 kfree(vpd_buf); in scsi_attach_vpd()817 vpd_buf = kmalloc(vpd_len, GFP_KERNEL); in scsi_attach_vpd()[all …]