[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YBK/wa2AuwYJ/zTp@rocinante>
Date: Thu, 28 Jan 2021 14:44:33 +0100
From: Krzysztof WilczyĆski <kw@...ux.com>
To: Victor Ding <victording@...gle.com>
Cc: Bjorn Helgaas <helgaas@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Adrian Hunter <adrian.hunter@...el.com>,
linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org,
Ben Chuang <ben.chuang@...esyslogic.com.tw>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Kai-Heng Feng <kai.heng.feng@...onical.com>,
"Saheed O. Bolarinwa" <refactormyself@...il.com>,
Vidya Sagar <vidyas@...dia.com>,
Xiongfeng Wang <wangxiongfeng2@...wei.com>,
Yicong Yang <yangyicong@...ilicon.com>
Subject: Re: [PATCH] PCI/ASPM: Disable ASPM when save/restore PCI state
Hi Victor,
Thank you for working on this!
[...]
> i = pci_save_pcie_state(dev);
> if (i != 0)
> - return i;
> + goto Exit;
>
> i = pci_save_pcix_state(dev);
> if (i != 0)
> - return i;
> + goto Exit;
[...]
> +Exit:
> + pcie_restore_aspm_control(dev);
> + return i;
> }
[...]
A silly thing, but the goto labels are customary lower-case.
Nonetheless, this is probably something that can be corrected when
applying, so that you don't need to unnecessarily send a new version
(unless you will eventually following other reviews, then don't forget
about it).
Krzysztof
Powered by blists - more mailing lists