From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Owens Subject: Re: [PATCH] udp: Introduce special NULL pointers for hlist termination Date: Fri, 31 Oct 2008 11:14:27 +1100 Message-ID: <8186.1225412067@ocs10w> References: <4909D551.9080309@cosmosbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: paulmck@linux.vnet.ibm.com, Corey Minyard , David Miller , shemminger@vyatta.com, benny+usenet@amorsen.dk, netdev@vger.kernel.org, Christoph Lameter , a.p.zijlstra@chello.nl, johnpol@2ka.mipt.ru, Christian Bell To: Eric Dumazet Return-path: Received: from mail.ocs.com.au ([202.134.241.204]:28195 "EHLO mail.ocs.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752955AbYJaAXl (ORCPT ); Thu, 30 Oct 2008 20:23:41 -0400 In-reply-to: Your message of "Thu, 30 Oct 2008 16:40:01 BST." <4909D551.9080309@cosmosbay.com> Sender: netdev-owner@vger.kernel.org List-ID: Eric Dumazet (on Thu, 30 Oct 2008 16:40:01 +0100) wrote: >+/** >+ * ptr_is_a_nulls - Test if a ptr to struct hlist_nulls_node is a nulls Typo: comment says 'ptr_is_a_nulls' but function is called 'is_a_nulls'. >+ * @ptr: ptr to be tested >+ * >+ */ >+static inline int is_a_nulls(struct hlist_nulls_node *ptr) >+{ >+ return ((unsigned long)ptr & 1); >+}