From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwDgc-0001Yq-2M for qemu-devel@nongnu.org; Tue, 10 Nov 2015 13:30:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwDgY-0008QV-RG for qemu-devel@nongnu.org; Tue, 10 Nov 2015 13:30:30 -0500 Received: from e17.ny.us.ibm.com ([129.33.205.207]:34040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwDgY-0008Q7-Mw for qemu-devel@nongnu.org; Tue, 10 Nov 2015 13:30:26 -0500 Received: from localhost by e17.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 10 Nov 2015 13:30:25 -0500 Date: Tue, 10 Nov 2015 10:27:41 -0800 From: Sukadev Bhattiprolu Message-ID: <20151110182741.GA4995@us.ibm.com> References: <1446678366-15082-1-git-send-email-sukadev@linux.vnet.ibm.com> <563FFD9C.7070407@ozlabs.ru> <20151110035757.GA20030@us.ibm.com> <564171C2.8040700@ozlabs.ru> <20151110044640.GA32368@us.ibm.com> <56419593.7010500@ozlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56419593.7010500@ozlabs.ru> Subject: Re: [Qemu-devel] [PATCH v2 1/1] target-ppc: Implement rtas_get_sysparm(PROCESSOR_MODULE_INFO) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: stewart@linux.vnet.ibm.com, benh@au1.ibm.com, nacc@linux.vnet.ibm.com, agraf@suse.de, qemu-devel@nongnu.org, qemu-ppc@nongnu.org, paulus@au1.ibm.com, david@gibson.dropbear.id.au Alexey Kardashevskiy [aik@ozlabs.ru] wrote: | | | No, you do not try reading "ibm,chip-id" if there is no "xscom@" | under /proc/device-tree, there is "continue": | | + if (strncmp(xscom_prefix, ent->d_name, strlen(xscom_prefix))) { | + continue; | + } | Ah, yes, Thanks, Sukadev.