Re: [RFC][PATCH] PM: Warn if interrupts are enabled during suspend-resume of sysdevs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> @@ -377,6 +381,9 @@ int sysdev_suspend(pm_message_t state)
>         if (ret)
>                 return ret;
>  
> +       WARN_ONCE(!irqs_disabled(),
> +               "Interrupts enabled while suspending system devices");
> +

Missing \n ?

> @@ -452,6 +465,9 @@ int sysdev_resume(void)
>  {
>         struct sysdev_class *cls;
>  
> +       WARN_ONCE(!irqs_disabled(),
> +               "Interrupts enabled while resuming system devices");
> +

Again.

Cheers,
FJP
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux