[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111101.175633.1920208937281416034.davem@davemloft.net>
Date: Tue, 01 Nov 2011 17:56:33 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: arjan@...radead.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: make the tcp and udp file_operations for the
/proc stuff const
From: Arjan van de Ven <arjan@...radead.org>
Date: Sun, 30 Oct 2011 09:46:30 -0700
> the tcp and udp code creates a set of struct file_operations at runtime
> while it can also be done at compile time, with the added benefit of then
> having these file operations be const.
>
> the trickiest part was to get the "THIS_MODULE" reference right; the naive
> method of declaring a struct in the place of registration would not work
> for this reason.
>
> Signed-off-by: Arjan van de Ven <arjan@...ux.intel.com>
I have no problem with this, applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists