From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754093AbbJZO7U (ORCPT ); Mon, 26 Oct 2015 10:59:20 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:39829 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753826AbbJZO7S (ORCPT ); Mon, 26 Oct 2015 10:59:18 -0400 Subject: Re: [PATCH v2 05/32] scsi: hisi_sas: scan device tree To: Mark Rutland References: <1445868903-183817-1-git-send-email-john.garry@huawei.com> <1445868903-183817-6-git-send-email-john.garry@huawei.com> <20151026144854.GC12277@leverpostej> CC: , , , , , , , , , , , , , From: John Garry Message-ID: <562E3DEB.1050603@huawei.com> Date: Mon, 26 Oct 2015 14:51:23 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20151026144854.GC12277@leverpostej> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.137.251] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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