summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2020-08-05 18:24:14 -0500
committerBjorn Helgaas <bhelgaas@google.com>2020-08-05 18:24:14 -0500
commit0dfcabe9c640591808de483fadcd823dd24c37fb (patch)
treeb75216f075075c4483a4969991eefb334c6e481b /drivers/pci
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff)
parent3167e3d340c092fd47924bc4d23117a3074ef9a9 (diff)
downloadlinux-0dfcabe9c640591808de483fadcd823dd24c37fb.tar.bz2
Merge branch 'pci/aspm'
- Add newline to ASPM sysfs "policy" file (Xiongfeng Wang) * pci/aspm: PCI/ASPM: Add missing newline in sysfs 'policy'
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pcie/aspm.c1
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;
}