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: <CAHp75VeRb6HV80P1B60sr4=-pdWW+GS1dQDYUbO0PWLhkKZsGA@mail.gmail.com>
Date: Wed, 13 Aug 2025 12:34:32 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Xichao Zhao <zhao.xichao@...o.com>
Cc: o.rempel@...gutronix.de, jic23@...nel.org, dlechner@...libre.com, 
	nuno.sa@...log.com, andy@...nel.org, linux-iio@...r.kernel.org, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: adc: ti-tsc2046: use us_to_ktime() where appropriate

On Wed, Aug 13, 2025 at 9:56 AM Xichao Zhao <zhao.xichao@...o.com> wrote:
>
> The scan_interval_us and time_per_scan_us are more suitable for
> using the us_to_ktime(). This can make the code more concise and

This makes....

> enhance readability. Therefore, replace ns_to_ktime() with us_to_ktime().

Perhaps Jonathan may tweak the commit message to be more English, but
code wise I agree with you.
Reviewed-by: Andy Shevchenko <andy@...nel.org>

-- 
With Best Regards,
Andy Shevchenko

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ