Re: [PATCH v2 05/32] scsi: hisi_sas: scan device tree

From: John Garry
Date: Mon Oct 26 2015 - 10:59:23 EST


On 26/10/2015 14:48, Mark Rutland wrote:
+ sas_addr_prop = of_find_property(np, "sas-addr", NULL);
+ if (!sas_addr_prop || (sas_addr_prop->length != SAS_ADDR_SIZE))
+ goto err_out;
+ memcpy(hisi_hba->sas_addr, sas_addr_prop->value, SAS_ADDR_SIZE);

This was not in the binding.

What is this?

Thanks,
Mark.

.

I had already noticed that this new property, "sas-addr", for patchset v2 had been omitted from the bindings file. I will add a comment to that patch.

John

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/