]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] arcmsr: fix up bin_attr functions
authorJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:30:24 +0000 (12:30 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:05:27 +0000 (09:05 -0500)
commite0dabae93336fd5a43d1bcf6d73ca4e39a7b4463
tree808dd89ca9c62a3c7e9cc8596c4c469fac396725
parentdedfbe5d0e4388eac4d1732886d8c94882f73b47
[SCSI] arcmsr: fix up bin_attr functions

Commit

commit db0c502c030b43449613dafd2a71b29422bac643
Author: Chris Wright <chrisw@sous-sol.org>
Date:   Wed May 12 18:28:57 2010 -0700

    sysfs: add struct file* to bin_attr callbacks

Added an extra struct file * parameter at the beginning, which the
arcmsr binary attribute additions didn't have.  Fix this to prevent
nasty crashes.

Cc: Nick Cheng <nick.cheng@areca.com.tw>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/arcmsr/arcmsr_attr.c