From: Greg Kroah-Hartman Subject: Re: [PATCH V1 3/3] scsi: ufs: Add sysfs support for ufs provision Date: Tue, 5 Jun 2018 10:42:00 +0200 Message-ID: <20180605084200.GB8665@kroah.com> References: <1527849774-7623-1-git-send-email-sayalil@codeaurora.org> <1527849774-7623-4-git-send-email-sayalil@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Stanislav Nijnikov Cc: Sayali Lokhande , "subhashj@codeaurora.org" , "cang@codeaurora.org" , "vivek.gautam@codeaurora.org" , "rnayak@codeaurora.org" , "vinholikatti@gmail.com" , "jejb@linux.vnet.ibm.com" , "martin.petersen@oracle.com" , "asutoshd@codeaurora.org" , "evgreen@chromium.org" , Bart Van Assche , "linux-scsi@vger.kernel.org" , Adrian Hunter , open list List-Id: linux-scsi@vger.kernel.org On Tue, Jun 05, 2018 at 08:16:50AM +0000, Stanislav Nijnikov wrote: > Hi Sayali, > > I think that passing an array of values in a string is not proper way > to work with a sysfs entry. There are binary attributes to do such > things. No, don't do that, sysfs is for "one value per file", and binary attributes are for "hardware value pass-through" type stuff. Unless this is "raw" data straight from the hardware, binary does not work, and neither does a normal sysfs file either. So this needs to be reworked please. thanks, greg k-h