Thread (3 messages) 3 messages, 2 authors, 2021-01-28

Re: [PATCH] PCI/ASPM: Disable ASPM when save/restore PCI state

From: Victor Ding <hidden>
Date: 2021-01-28 15:11:11
Also in: linux-pci, lkml

On Fri, Jan 29, 2021 at 12:44 AM Krzysztof Wilczyński [off-list ref] wrote:
Hi Victor,

Thank you for working on this!

[...]
quoted
      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;
[...]
quoted
+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
Thank you for reviewing. I am about to send out a V2 for a bug fix,
it will include this style change too.

Victor
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help