diff options
author | 2020-08-05 18:24:14 -0500 | |
---|---|---|
committer | 2020-08-05 18:24:14 -0500 | |
commit | 0dfcabe9c640591808de483fadcd823dd24c37fb (patch) | |
tree | b75216f075075c4483a4969991eefb334c6e481b | |
parent | Linux 5.8-rc1 (diff) | |
parent | PCI/ASPM: Add missing newline in sysfs 'policy' (diff) | |
download | linux-dev-0dfcabe9c640591808de483fadcd823dd24c37fb.tar.xz linux-dev-0dfcabe9c640591808de483fadcd823dd24c37fb.zip |
Merge branch 'pci/aspm'
- Add newline to ASPM sysfs "policy" file (Xiongfeng Wang)
* pci/aspm:
PCI/ASPM: Add missing newline in sysfs 'policy'
-rw-r--r-- | drivers/pci/pcie/aspm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c index b17e5ffd31b1..253c30cc1967 100644 --- a/drivers/pci/pcie/aspm.c +++ b/drivers/pci/pcie/aspm.c @@ -1182,6 +1182,7 @@ static int pcie_aspm_get_policy(char *buffer, const struct kernel_param *kp) cnt += sprintf(buffer + cnt, "[%s] ", policy_str[i]); else cnt += sprintf(buffer + cnt, "%s ", policy_str[i]); + cnt += sprintf(buffer + cnt, "\n"); return cnt; } |