From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH v3 11/32] scsi: hisi_sas: add phy SAS ADDR initialization Date: Mon, 09 Nov 2015 17:28:46 +0100 Message-ID: <4369607.QVA3rBnZUm@wuerfel> References: <1447086757-147706-1-git-send-email-john.garry@huawei.com> <1447086757-147706-12-git-send-email-john.garry@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <1447086757-147706-12-git-send-email-john.garry@huawei.com> Sender: linux-scsi-owner@vger.kernel.org To: John Garry Cc: JBottomley@odin.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linuxarm@huawei.com, john.garry2@mail.dcu.ie, hare@suse.de, xuwei5@hisilicon.com, zhangfei.gao@linaro.org List-Id: devicetree@vger.kernel.org On Tuesday 10 November 2015 00:32:16 John Garry wrote: > } > > +static void hisi_sas_init_add(struct hisi_hba *hisi_hba) > +{ > + int i; > + > + for (i = 0; i < hisi_hba->n_phy; i++) > + memcpy(&hisi_hba->phy[i].dev_sas_addr, > + hisi_hba->sas_addr, > + SAS_ADDR_SIZE); > +} I don't know the background here, but I thought it would have to be a different address on each phy. Are you sure this is not the case? Arnd