Re: [PATCH] misc: ad525x_dpot: Fix the enabling of the "otpXen" attributes

From: Greg Kroah-Hartman
Date: Mon Feb 22 2016 - 14:45:22 EST


On Mon, Feb 22, 2016 at 09:58:27AM +0100, Michael Hennerich wrote:
> On 11/19/2015 09:22 AM, Michael Hennerich wrote:
> >On 11/18/2015 05:16 PM, Dan Bogdan Nechita wrote:
> >>Currently writing the attributes with "echo" will result in comparing:
> >>"enabled\n" with "enabled\0" and attribute is always set to false.
> >>
> >>Use the sysfs_streq() instead because it treats both NUL and
> >>new-line-then-NUL as equivalent string terminations.
> >>
> >>Signed-off-by: Dan Bogdan Nechita <dan.bogdan.nechita@xxxxxxxxx>
> >
> >Acked-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
>
>
> Looks like to patch got lost?

If so, please resend it, I don't see it here in my queue, sorry.

greg k-h