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] [day] [month] [year] [list]
Message-ID: <20160511180450.GD21847@localhost>
Date:	Wed, 11 May 2016 11:04:50 -0700
From:	Olof Johansson <olof@...om.net>
To:	Clinton Sprain <clintonsprain@...il.com>
Cc:	gwendal@...omium.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] platform/chrome: cros_ec_lightbar - use name instead of
 ID to hide lightbar attributes

On Tue, Mar 08, 2016 at 10:36:24PM -0600, Clinton Sprain wrote:
> Lightbar attributes are hidden if the ID of the device is not 0
> (the assumption being that 0 = cros_ec = might have a lightbar,
> 1 = cros_pd = hide); however, sometimes these devices get IDs 1
> and 2 (or something else) instead of IDs 0 and 1. This prevents
> the lightbar attributes from appearing when they should.
> 
> Proposed change is to instead check whether the name assigned to
> the device is CROS_EC_DEV_NAME (true for cros_ec, false for cros_pd).
> 
> Signed-off-by: Clinton Sprain <clintonsprain@...il.com>

Hm. I wonder why we need to check at all, given that the lightbar version check
is just going to fail later anyway.

Either way, applied with some manual fixups due to surrounding changes.
Apologies for the long delay here.


-Olof

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ