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: <ec09e583-7a07-4ff1-8682-3ef783dd7dee@roeck-us.net>
Date: Sun, 7 Sep 2025 06:18:14 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
	linux-hwmon@...r.kernel.org
Subject: Re: [PATCH] hwmon: (nzxt-smart2) Use devm_mutex_init()

On Sun, Sep 07, 2025 at 12:20:20PM +0200, Christophe JAILLET wrote:
> Use devm_mutex_init() instead of hand-writing it.
> 
> This saves some LoC, improves readability and saves some space in the
> generated .o file.
> 
> Before:
> ======
>    text	   data	    bss	    dec	    hex	filename
>   25878	  11329	    128	  37335	   91d7	drivers/hwmon/nzxt-smart2.o
> 
> After:
> =====
>    text	   data	    bss	    dec	    hex	filename
>   25551	  11257	    128	  36936	   9048	drivers/hwmon/nzxt-smart2.o
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>

Applied.

Guenter

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ