netdev
[Top] [All Lists]

Re: [PATCH] proc_net macro's for non-proc-fs case

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] proc_net macro's for non-proc-fs case
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Fri, 12 Sep 2003 17:13:41 -0700
Cc: levon@xxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20030912112120.23300a99.shemminger@xxxxxxxx>
References: <20030911154357.6b31891c.shemminger@xxxxxxxx> <20030911235405.GA74116@xxxxxxxxxxxxxxxxx> <20030912112120.23300a99.shemminger@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 12 Sep 2003 11:21:20 -0700
Stephen Hemminger <shemminger@xxxxxxxx> wrote:

> The following should work better. They have the desired properties that:
>       - return value makes sense for those that might check
>       - arguments fops and info don't have to be defined (ie can be #ifdef'd 
> out)
>       - generate no warnings for null effect.

Looks good, applied thanks.

<Prev in Thread] Current Thread [Next in Thread>