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: <ZqpykkwdhS-Oz1RC@google.com>
Date: Wed, 31 Jul 2024 10:21:22 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: John Keeping <jkeeping@...usicbrands.com>
Cc: Artur Rojek <contact@...ur-rojek.eu>,
	Chris Morgan <macromorgan@...mail.com>,
	Javier Carrasco <javier.carrasco.cruz@...il.com>,
	linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: adc-joystick - fix optional value handling

On Wed, Jul 31, 2024 at 10:33:09AM +0100, John Keeping wrote:
> The abs-fuzz and abs-flat properties are documented as optional.  When
> these are absent, fwnode_property_read_u32() will leave the input
> unchanged, meaning that an axis either picks up the value for the
> previous axis or an uninitialized value.
> 
> Explicitly set these values to zero when they are unspecified to match
> the documented behaviour in the device tree bindings.
> 
> Signed-off-by: John Keeping <jkeeping@...usicbrands.com>

Applied, thank you.

-- 
Dmitry

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ