From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Subject: Re: [patch] vhost: NULL vs ERR_PTR bug Date: Wed, 15 Jul 2015 17:40:43 +0300 Message-ID: <20150715144042.GF5835@mwanda> References: <20150715111659.GA22854@mwanda> <20150715142420-mutt-send-email-mst@redhat.com> <55A64574.1090907@bfs.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Julia Lawall Cc: kvm@vger.kernel.org, "Michael S. Tsirkin" , kernel-janitors@vger.kernel.org, virtualization@lists.linux-foundation.org, Igor Mammedov , walter harms List-Id: virtualization@lists.linuxfoundation.org On Wed, Jul 15, 2015 at 10:21:12AM -0400, Julia Lawall wrote: > At least it looks like one could return the result of vzalloc directly? > > julia That's a true... I was tempted to re-write it a bit. I think one of the Lustre people are eventually going to export this function and we will delete this one. regards, dan carpenter