From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Greg KH (gregkh@linuxfoundation.org)" Subject: Re: [PATCH v2] st: convert DRIVER_ATTR macros to DRIVER_ATTR_RO Date: Wed, 24 Jun 2015 08:10:20 -0700 Message-ID: <20150624151020.GD7925@kroah.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:54164 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752620AbbFXPKV (ORCPT ); Wed, 24 Jun 2015 11:10:21 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: "Seymour, Shane M" Cc: "linux-scsi@vger.kernel.org" , "linux-api@vger.kernel.org" , "Kai.Makisara@kolumbus.fi" On Wed, Jun 24, 2015 at 06:54:35AM +0000, Seymour, Shane M wrote: > > Convert DRIVER_ATTR macros to DRIVER_ATTR_RO requested by > Greg KH. Also switched to using scnprintf instead of snprintf > per Documentation/filesystems/sysfs.txt. > > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Shane Seymour > --- > This patch was implemented on top of the previous patch to > convert to using driver attr groups. > > Changes from v1: > - switched to scnprintf from sprintf after feedback from Sergey > Senozhatsky. Acked-by: Greg Kroah-Hartman