On Fri, Mar 23, 2018 at 01:00:24PM +0100, Petr Mladek wrote:> @@ -528,6 +537,7 @@ static ssize_t enabled_store(struct kobject *kobj, struct kobj_attribute *attr,> goto err;> }> > +> if (patch->enabled == enabled) {> /* already in requested state */> ret = -EINVAL;Extra newline.-- Josh