From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] vxge: Convert macro to inline function Date: Tue, 03 Apr 2012 18:18:30 -0400 (EDT) Message-ID: <20120403.181830.799733266830291210.davem@davemloft.net> References: <1333489992.2695.17.camel@joe2Laptop> <20120403.175837.1897033408784057713.davem@davemloft.net> <1333491271.2695.20.camel@joe2Laptop> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jdmason@kudzu.us, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: joe@perches.com Return-path: In-Reply-To: <1333491271.2695.20.camel@joe2Laptop> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Joe Perches Date: Tue, 03 Apr 2012 15:14:31 -0700 > Convert the macro to inline function to check the arguments. > > Signed-off-by: Joe Perches > --- >> Longer term I'd much rather see this turned into an inline >> function with proper type checking etc. > > Something like this? Yep.