On 05/30/2017 01:31 PM, Bryant G. Ly wrote: > This patch adds more info about the attribute being changed, > so that usersapce can easily figure out what is happening. > > Signed-off-by: Bryant G. Ly <bryantly@xxxxxxxxxxxxxxxxxx> > --- > drivers/target/target_core_user.c | 27 +++++++++++++++++++++------ > include/uapi/linux/target_core_user.h | 1 + > 2 files changed, 22 insertions(+), 6 deletions(-) > > diff --git a/drivers/target/target_core_user.c b/drivers/target/target_core_user.c > index 7575bc9..2d461c4 100644 > --- a/drivers/target/target_core_user.c > +++ b/drivers/target/target_core_user.c > @@ -190,6 +190,13 @@ static struct genl_family tcmu_genl_family __ro_after_init = { > .netnsok = true, > }; > > +enum tcmu_reconfig_types { > + No_reconfig, > + Config_path, > + Config_size, > + Config_writecache This this goes in target_core_user.h. Let's just do all caps for the names to make the style in there.