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: <174006653265.831609.185737357402182054.b4-ty@kernel.org>
Date: Thu, 20 Feb 2025 15:48:52 +0000
From: Lee Jones <lee@...nel.org>
To: vicentiu.galanopulo@...ote-tech.co.uk, linux-leds@...r.kernel.org, 
 linux-kernel@...r.kernel.org, lee@...nel.org, pavel@...nel.org, 
 xiaopeitux@...mail.com
Cc: Pei Xiao <xiaopei01@...inos.cn>, kernel test robot <lkp@...el.com>
Subject: Re: (subset) [PATCH] leds: Refactor st1202_led_set to use !!
 operator for boolean conversion

On Wed, 19 Feb 2025 10:42:02 +0800, xiaopeitux@...mail.com wrote:
> cocci warnings:
>     drivers/leds/leds-st1202.c:194:66-71: WARNING: conversion to bool not
> needed here.
> 
> st1202_led_set function now uses the !! operator to convert the
> enum led_brightness value to a boolean active state, which is then
> passed to the st1202_channel_set function. This change maintains the
> existing functionality.
> 
> [...]

Applied, thanks!

[1/1] leds: Refactor st1202_led_set to use !! operator for boolean conversion
      commit: 2f372a5dce6885f1d2647f7add01756bee0fef49

--
Lee Jones [李琼斯]


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ