From: Ian Jackson Subject: Re: [PATCH] xen/many: xfree() can tolerate NULL pointers Date: Mon, 19 Jan 2015 11:47:00 +0000 Message-ID: <21692.61108.229537.207924@mariner.uk.xensource.com> References: <1421664139-9058-1-git-send-email-andrew.cooper3@citrix.com> <1421664847.10440.41.camel@citrix.com> <54BCE6B0.6090707@citrix.com> <1421666283.10440.48.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1421666283.10440.48.camel@citrix.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: Ian Campbell Cc: Andrew Cooper , Tim Deegan , Keir Fraser , Jan Beulich , Xen-devel List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH] xen/many: xfree() can tolerate NULL pointers"): > On Mon, 2015-01-19 at 11:12 +0000, Andrew Cooper wrote: > > On 19/01/15 10:54, Ian Campbell wrote: > > > Anyway, could you include the spatch in the commit log, for completeness > > > and for future cargo culting ;-) (unless it's huge, I guess) > > > > It was tiny, but sadly scummed to a `git clean`. I can't even recall > > which of the many kfree() variants I ended up modifying (s/k/x/), > > No worries, next time ;-) Umm, further to my last mail, we (the Free Software world in general) should treat this the same way we would any other case where the source code has been genuinely lost. We start editing the output file, and treat the results as the new source code. (Something can only be the preferred form for modification if it actually exists.) Ian.