]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ASPM: Add missing newline in sysfs 'policy'
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Fri, 17 Jul 2020 07:59:25 +0000 (15:59 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Jul 2020 21:01:24 +0000 (16:01 -0500)
commit2ce12bd9a7115a44ddfd49504de146388bc9d471
treeb75216f075075c4483a4969991eefb334c6e481b
parent74a27a5f5a99e6b5adfd790053b6cccac3270c76
PCI/ASPM: Add missing newline in sysfs 'policy'

When I cat ASPM parameter 'policy' by sysfs, it displays as follows.  Add a
newline for easy reading.  Other sysfs attributes already include a
newline.

  [root@localhost ~]# cat /sys/module/pcie_aspm/parameters/policy
  [default] performance powersave powersupersave [root@localhost ~]#

Fixes: 854266f14a5f ("PCI: add PCI Express ASPM support")
Link: https://lore.kernel.org/r/1594972765-10404-1-git-send-email-wangxiongfeng2@huawei.com
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aspm.c