From: Ian Campbell Subject: Re: [PATCH 0/4] Fix mmap return checking Date: Wed, 30 Jul 2014 12:58:58 +0100 Message-ID: <1406721538.31718.19.camel@kazak.uk.xensource.com> References: <1406563562-24156-1-git-send-email-dslutz@verizon.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1406563562-24156-1-git-send-email-dslutz@verizon.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Don Slutz Cc: Daniel De Graaf , Stefano Stabellini , Ian Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2014-07-28 at 12:05 -0400, Don Slutz wrote: > On Linux MAP_FAILED is not the same as NULL. > > Since lots of other calls check for MAP_FAILED, fix to use > MAP_FAILED. > > tools/blktap/drivers/tapdisk.c does check for -1 not MAP_FAILED. I > did not change since it was not clearly wrong. I've acked + applied #2..#4. I replied to #1 which I think is wrong. Ian.