On 2020-05-15 03:30, Avri Altman wrote:
> +static int ufshpb_attach(struct scsi_device *sdev)
> +{
> + struct ufshpb_dh_data *h;
> +
> + h = kzalloc(sizeof(*h), GFP_KERNEL);
> + if (!h)
> + return SCSI_DH_NOMEM;
> +
> + sdev_printk(KERN_INFO, sdev, "%s: attached to sdev
Add a scsi device handler companion to support ufs hpb.
The scsi-device-handler infrastructure was added to the kernel mainly to
facilitate multiple paths for storage devices. The HPB framework,
although far from the original intention of the authors, might as well
fit in. In that sense, using R
2 matches
Mail list logo