From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [patch] netns: let net_generic take pointer-to-const args Date: Sun, 21 Nov 2010 10:05:43 -0800 (PST) Message-ID: <20101121.100543.39194352.davem@davemloft.net> References: <1290328165.2756.102.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jengelh@medozas.de, netdev@vger.kernel.org To: eric.dumazet@gmail.com Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:45205 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754645Ab0KUSFS (ORCPT ); Sun, 21 Nov 2010 13:05:18 -0500 In-Reply-To: <1290328165.2756.102.camel@edumazet-laptop> Sender: netdev-owner@vger.kernel.org List-ID: From: Eric Dumazet Date: Sun, 21 Nov 2010 09:29:25 +0100 > While you are at it you could also use > > const struct net_generic *ng; > > Just curious, if we could use __pure attribute as well. Sounds like a good idea for a follow-on patch.