From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753421AbcBVTpR (ORCPT ); Mon, 22 Feb 2016 14:45:17 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:44837 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751236AbcBVTpP (ORCPT ); Mon, 22 Feb 2016 14:45:15 -0500 Date: Mon, 22 Feb 2016 11:45:14 -0800 From: Greg Kroah-Hartman To: Michael Hennerich Cc: Dan Bogdan Nechita , Arnd Bergmann , linux-kernel@vger.kernel.org Subject: Re: [PATCH] misc: ad525x_dpot: Fix the enabling of the "otpXen" attributes Message-ID: <20160222194514.GA23788@kroah.com> References: <1447863375-2195-1-git-send-email-dan.bogdan.nechita@gmail.com> <564D86E3.4030509@analog.com> <56CACDB3.3000804@analog.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56CACDB3.3000804@analog.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > > >Acked-by: Michael Hennerich > > > Looks like to patch got lost? If so, please resend it, I don't see it here in my queue, sorry. greg k-h