lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9b2b86520907211448t24a091e2i6d8ad89f709f35ff@mail.gmail.com>
Date:	Tue, 21 Jul 2009 22:48:05 +0100
From:	Alan Jenkins <sourcejedi.lkml@...glemail.com>
To:	Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc:	linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC/RFT] serio - switch to using dev_pm_ops

>  drivers/input/serio/serio.c |   30 ++++++++++++++++--------------
>  1 files changed, 16 insertions(+), 14 deletions(-)

> -	if (!serio->suspended && state.event == PM_EVENT_SUSPEND)
> -		serio_cleanup(serio);
> -
> -	serio->suspended = state.event == PM_EVENT_SUSPEND ||
> -			   state.event == PM_EVENT_FREEZE;

> -	if (serio->suspended) {
> -		serio->suspended = false;
> -		serio_queue_event(serio, NULL, SERIO_RECONNECT_PORT);
> -	}

It looks like you should be able to remove the suspended field of
struct serio.  Or is it used somewhere else?

Regards
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ