]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla2xxx: Return blank sysfs string on initial get thermal failure.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Thu, 9 Feb 2012 19:15:40 +0000 (11:15 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 14:17:17 +0000 (08:17 -0600)
commit4f58aa59ea90bc1e8a1b6a85dd8ebe26272b04e6
tree7fd4d065f1cac7fa1993dfc8e709c2def367fbae
parenta6e4ef9c7b48b334a1a55571607a537f1193e262
[SCSI] qla2xxx: Return blank sysfs string on initial get thermal failure.

When thermal temperature initially fails, return a blank string to the
sysfs interface.  This fixes the initial display of 0.00 followed by
subsequent display of blank line; the initial 0.00 should have not
displayed for cards that do not support thermal temperature.

Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_attr.c