projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60395bb
)
[SCSI] aacraid: sysfs adapter reset/status format change.
author
Salyzyn, Mark
<mark_salyzyn@adaptec.com>
Mon, 23 Jul 2007 14:13:48 +0000
(10:13 -0400)
committer
James Bottomley
<jejb@mulgrave.localdomain>
Mon, 23 Jul 2007 21:58:43 +0000
(16:58 -0500)
We need to newline terminate responses from nodes within the sysfs tree,
the Adapter status value reported by the reset adapter node is adjusted.
Signed-off-by: Mark Salyzyn <aacraid@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aacraid/linit.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/aacraid/linit.c
b/drivers/scsi/aacraid/linit.c
index c709dc8ad99dee8e886d8b1bb4ac81749181733f..d27c838002a50032029129351960c7dd033b96e7 100644
(file)
--- a/
drivers/scsi/aacraid/linit.c
+++ b/
drivers/scsi/aacraid/linit.c
@@
-826,7
+826,7
@@
static ssize_t aac_show_reset_adapter(struct class_device *class_dev,
tmp = aac_adapter_check_health(dev);
if ((tmp == 0) && dev->in_reset)
tmp = -EBUSY;
- len = snprintf(buf, PAGE_SIZE, "0x%x", tmp);
+ len = snprintf(buf, PAGE_SIZE, "0x%x
\n
", tmp);
return len;
}