netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: make rx_queue sysfs_ops const
@ 2010-08-31 22:14 Stephen Hemminger
  2010-09-02  1:17 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2010-08-31 22:14 UTC (permalink / raw)
  To: David Miller; +Cc: netdev


Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

--- a/net/core/net-sysfs.c	2010-08-31 15:09:51.280223081 -0700
+++ b/net/core/net-sysfs.c	2010-08-31 15:10:03.820257477 -0700
@@ -515,7 +515,7 @@ static ssize_t rx_queue_attr_store(struc
 	return attribute->store(queue, attribute, buf, count);
 }
 
-static struct sysfs_ops rx_queue_sysfs_ops = {
+static const struct sysfs_ops rx_queue_sysfs_ops = {
 	.show = rx_queue_attr_show,
 	.store = rx_queue_attr_store,
 };

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: make rx_queue sysfs_ops const
  2010-08-31 22:14 [PATCH] net: make rx_queue sysfs_ops const Stephen Hemminger
@ 2010-09-02  1:17 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-09-02  1:17 UTC (permalink / raw)
  To: shemminger; +Cc: netdev

From: Stephen Hemminger <shemminger@vyatta.com>
Date: Tue, 31 Aug 2010 15:14:13 -0700

> 
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-02  1:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31 22:14 [PATCH] net: make rx_queue sysfs_ops const Stephen Hemminger
2010-09-02  1:17 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).