mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
Merge tag 'configfs-for-v6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/a.hindborg/linux
Pull configfs updates from Andreas Hindborg: "Two commits changing constness of the configfs vtable pointers. We plan to follow up with changes at call sites down the road" * tag 'configfs-for-v6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/a.hindborg/linux: configfs: Constify ct_item_ops in struct config_item_type configfs: Constify ct_group_ops in struct config_item_type
This commit is contained in:
@@ -598,7 +598,7 @@ static void detach_attrs(struct config_item * item)
|
||||
static int populate_attrs(struct config_item *item)
|
||||
{
|
||||
const struct config_item_type *t = item->ci_type;
|
||||
struct configfs_group_operations *ops;
|
||||
const struct configfs_group_operations *ops;
|
||||
struct configfs_attribute *attr;
|
||||
struct configfs_bin_attribute *bin_attr;
|
||||
int error = 0;
|
||||
|
||||
@@ -30,7 +30,7 @@ struct configfs_buffer {
|
||||
size_t count;
|
||||
loff_t pos;
|
||||
char * page;
|
||||
struct configfs_item_operations * ops;
|
||||
const struct configfs_item_operations *ops;
|
||||
struct mutex mutex;
|
||||
int needs_read_fill;
|
||||
bool read_in_progress;
|
||||
|
||||
@@ -64,8 +64,8 @@ extern void config_item_put(struct config_item *);
|
||||
|
||||
struct config_item_type {
|
||||
struct module *ct_owner;
|
||||
struct configfs_item_operations *ct_item_ops;
|
||||
struct configfs_group_operations *ct_group_ops;
|
||||
const struct configfs_item_operations *ct_item_ops;
|
||||
const struct configfs_group_operations *ct_group_ops;
|
||||
struct configfs_attribute **ct_attrs;
|
||||
struct configfs_bin_attribute **ct_bin_attrs;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user