git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6198 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2015-05-02 01:13:08 +00:00
parent 1ecb7f1fe3
commit c9de099c74
2 changed files with 2 additions and 4 deletions

View File

@@ -6588,8 +6588,7 @@ static ssize_t q2t_show_expl_conf_enabled(struct kobject *kobj,
res = scnprintf(buffer, PAGE_SIZE, "%d\n%s",
vha->hw->enable_explicit_conf,
vha->hw->enable_explicit_conf ?
SCST_SYSFS_KEY_MARK "\n" : "");
vha->hw->enable_explicit_conf ? SCST_SYSFS_KEY_MARK "\n" : "");
out:
return res;

View File

@@ -9470,8 +9470,7 @@ static ssize_t vdev_dif_filename_show(struct kobject *kobj,
virt_dev = dev->dh_priv;
pos = sprintf(buf, "%s\n%s", virt_dev->dif_filename,
(virt_dev->dif_filename != NULL) ?
SCST_SYSFS_KEY_MARK "\n" : "");
(virt_dev->dif_filename != NULL) ? SCST_SYSFS_KEY_MARK "\n" : "");
TRACE_EXIT_RES(pos);
return pos;