Received: from eggs.gnu.org ([2001:4830:134:3::10]:35631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPCEF-0004Au-2n for qemu-devel@nongnu.org; Fri, 29 Jan 2016 11:48:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPCEA-0001kb-13 for qemu-devel@nongnu.org; Fri, 29 Jan 2016 11:48:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPCE9-0001jy-S3 for qemu-devel@nongnu.org; Fri, 29 Jan 2016 11:48:53 -0500 Date: Fri, 29 Jan 2016 22:18:45 +0530 (IST) From: P J P In-Reply-To: <1454075114.14284.2.camel@redhat.com> Message-ID: References: <1454072434-16045-1-git-send-email-ppandit@redhat.com> <1454075114.14284.2.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH] usb: ehci: add capability mmio write function List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Zuozhi Fzz , QEMU Developers , Prasad J Pandit Hello Gerd, +-- On Fri, 29 Jan 2016, Gerd Hoffmann wrote --+ | On Fr, 2016-01-29 at 18:30 +0530, P J P wrote: | > pointer dereference issue. Add a do nothing 'ehci_caps_write' | > definition to avoid it; Do nothing because capability registers | > are Read Only(RO). | | Surely makes sense, xhci does the same, I'll pick it up. Cool! Thank you. | Maybe we should have a generic nop_write function somewhere. Not that there True. Would one nop_write function serve them all? I mean do they share the same prototype/syntax? -- Prasad J Pandit / Red Hat Product Security Team 47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F