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: <b9433a38-f948-4e16-b7e5-0c2537f7fe0e@gmail.com>
Date: Thu, 4 Sep 2025 18:26:41 +0200
From: Raphaël Gallais-Pou <rgallaispou@...il.com>
To: Liao Yuanhong <liaoyuanhong@...o.com>,
 Alain Volmat <alain.volmat@...s.st.com>,
 Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
 Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
 David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
 "open list:DRM DRIVERS FOR STI" <dri-devel@...ts.freedesktop.org>,
 open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/sti: Remove redundant ternary operators



Le 04/09/2025 à 13:27, Liao Yuanhong a écrit :
> For ternary operators in the form of "a ? true : false", if 'a' itself
> returns a boolean result, the ternary operator can be omitted. Remove
> redundant ternary operators to clean up the code.
> 
> Signed-off-by: Liao Yuanhong <liaoyuanhong@...o.com>
> ---

Hi,

Acked-by: Raphaël Gallais-Pou <rgallaispou@...il.com>

Thanks,
Best regards,
Raphaël

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ