[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091207095356.GA3243@bluebox.local>
Date: Mon, 7 Dec 2009 10:53:57 +0100
From: "Hans J. Koch" <hjk@...utronix.de>
To: Emese Revfy <re.emese@...il.com>
Cc: tony.luck@...el.com, fenghua.yu@...el.com,
benh@...nel.crashing.org, lethal@...ux-sh.org, tglx@...utronix.de,
mingo@...hat.com, hpa@...or.com, axboe@...nel.dk, gregkh@...e.de,
petero2@...ia.com, davej@...hat.com, maciej.sosnowski@...el.com,
dougthompson@...ssion.com, airlied@...ux.ie, rolandd@...co.com,
sean.hefty@...el.com, hal.rosenstock@...il.com, neilb@...e.de,
rdunlap@...otime.net, kyle@...artin.ca, deller@....de,
jejb@...isc-linux.org, jbarnes@...tuousgeek.org, hjk@...utronix.de,
david.vrabel@....com, jeremy@...source.com, chris.mason@...cle.com,
ccaulfie@...hat.com, teigland@...hat.com, tytso@....edu,
adilger@....com, swhiteho@...hat.com, mfasheh@...e.com,
joel.becker@...cle.com, rusty@...tcorp.com.au,
penberg@...helsinki.fi, shemminger@...ux-foundation.org,
torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH 29/31] Constify struct sysfs_ops for 2.6.32 v1
On Sat, Dec 05, 2009 at 01:03:07AM +0100, Emese Revfy wrote:
> From: Emese Revfy <re.emese@...il.com>
>
> Constify struct sysfs_ops.
> Per Dave Miller's suggestion, resend with proper CC list and patch format.
>
> Signed-off-by: Emese Revfy <re.emese@...il.com>
For the Userspace I/O part:
Acked-by: Hans J. Koch <hjk@...utronix.de>
> ---
[...]
> drivers/uio/uio.c | 4 ++--
[...]
> diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
> index e941367..4de382a 100644
> --- a/drivers/uio/uio.c
> +++ b/drivers/uio/uio.c
> @@ -129,7 +129,7 @@ static ssize_t map_type_show(struct kobject *kobj, struct attribute *attr,
> return entry->show(mem, buf);
> }
>
> -static struct sysfs_ops map_sysfs_ops = {
> +static const struct sysfs_ops map_sysfs_ops = {
> .show = map_type_show,
> };
>
> @@ -217,7 +217,7 @@ static ssize_t portio_type_show(struct kobject *kobj, struct attribute *attr,
> return entry->show(port, buf);
> }
>
> -static struct sysfs_ops portio_sysfs_ops = {
> +static const struct sysfs_ops portio_sysfs_ops = {
> .show = portio_type_show,
> };
--
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