Re: [PATCH 1/1] Constify struct sysfs_ops for v2.6.33-rc4

From: Alexey Dobriyan
Date: Sun Jan 17 2010 - 13:23:48 EST


> - ssize_t (*show)(struct kobject *, struct attribute *, char *);
> - ssize_t (*store)(struct kobject *, struct attribute *, const char *);
> + ssize_t (* const show)(struct kobject *, struct attribute *, char *);
> + ssize_t (* const store)(struct kobject *, struct attribute *, const char *);

I thought people were against this part.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/