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: <s2whbqys4xwn2ant7ftgixwkguqmvtwbguajdtz7bks7avgk7c@efhaves6wzg2>
Date: Wed, 22 Oct 2025 00:50:52 +0200
From: Andi Shyti <andi.shyti@...nel.org>
To: Markus Elfring <Markus.Elfring@....de>
Cc: linux-i2c@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com, 
	linux-arm-kernel@...ts.infradead.org, Alain Volmat <alain.volmat@...s.st.com>, 
	Alexandre Torgue <alexandre.torgue@...s.st.com>, Krzysztof Kozlowski <krzk@...nel.org>, 
	Maxime Coquelin <mcoquelin.stm32@...il.com>, Pierre-Yves Mordret <pierre-yves.mordret@...s.st.com>, 
	Wolfram Sang <wsa@...nel.org>, LKML <linux-kernel@...r.kernel.org>, 
	Anand Moon <linux.amoon@...il.com>, Christophe Jaillet <christophe.jaillet@...adoo.fr>
Subject: Re: [PATCH] i2c: stm32: Omit two variable reassignments in
 stm32_i2c_dma_request()

Hi Markus,

> An error code was assigned to a variable and checked accordingly.
> This value was passed to a dev_err_probe() call in an if branch.
> This function is documented in the way that the same value is returned.
> Thus delete two redundant variable reassignments.
> 
> The source code was transformed by using the Coccinelle software.
> 
> Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>

merged to i2c/i2c-host.

Thanks,
Andi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ