mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zpcictl: Rename misleading sysfs_write_data
To sysfs_report_error as it only writes to the report_error attribute. Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
bc0d40c580
commit
d77234ddb6
@@ -183,7 +183,7 @@ static void sysfs_write_value(struct zpci_device *pdev, const char *attr,
|
||||
free(path);
|
||||
}
|
||||
|
||||
static void sysfs_write_data(struct zpci_report_error *report, char *slot)
|
||||
static void sysfs_report_error(struct zpci_report_error *report, char *slot)
|
||||
{
|
||||
size_t r_size;
|
||||
char *path;
|
||||
@@ -308,7 +308,7 @@ static void sclp_issue_action(struct zpci_device *pdev, int action)
|
||||
sizeof(report.data.log_data));
|
||||
free(sdata);
|
||||
}
|
||||
sysfs_write_data(&report, pdev->slot);
|
||||
sysfs_report_error(&report, pdev->slot);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user