From: Ian Jackson Subject: Re: [PATCH] xen/many: xfree() can tolerate NULL pointers Date: Mon, 19 Jan 2015 11:43:56 +0000 Message-ID: <21692.60924.409377.876891@mariner.uk.xensource.com> References: <1421664139-9058-1-git-send-email-andrew.cooper3@citrix.com> <1421664847.10440.41.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1421664847.10440.41.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 10:42 +0000, Andrew Cooper wrote: > > This was from some experimentation with semantic patches. 'spatch' can't > > currently parse some of our macros (e.g. XEN_GUEST_HANDLE()), which cases it > > to skip large numbers of functions in the codebase > > How annoying! (and surprising) > > Anyway, could you include the spatch in the commit log, for completeness > and for future cargo culting ;-) (unless it's huge, I guess) I think the spatch is the preferred form for modification of an spatch-generated patch. Therefore an spatch-generated patch should not be accepted without the spatch. (I would decline to add my own s-o-b to such a thing.) Ian.