Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bbf17d6483a7feb4c1eeef9fd553976d4f394e4c
Commit:     bbf17d6483a7feb4c1eeef9fd553976d4f394e4c
Parent:     60395bb60e0b5e4e0808ac8eb07a92f6c9cdea1f
Author:     Salyzyn, Mark <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 23 10:13:48 2007 -0400
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Mon Jul 23 16:58:43 2007 -0500

    [SCSI] aacraid: sysfs adapter reset/status format change.
    
    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 <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
---
 drivers/scsi/aacraid/linit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index c709dc8..d27c838 100644
--- 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;
 }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to