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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241204013620.862943-1-andriy.shevchenko@linux.intel.com>
Date: Wed,  4 Dec 2024 03:33:15 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
	linux-iio@...r.kernel.org,
	linux-kernel@...r.kernel.org
Cc: Peter Rosin <peda@...ntia.se>,
	Jonathan Cameron <jic23@...nel.org>,
	Lars-Peter Clausen <lars@...afoo.de>
Subject: [PATCH v1 0/4] iio: afe: rescale: A few cleanups

There are cleanups to the code, most of the + LoCs due to missed inclusions.

The patch 3 is kinda interesting as in long term the idea to add multiplication
and division macros over the fract structures, which will simplify code that
uses rational numbers. Hence the mentioned patch is just a preparatory for making
next step easier.

Andy Shevchenko (4):
  iio: afe: rescale: Don't use ^ for booleans
  iio: afe: rescale: Don't use ULL(1) << x instead of BIT(x)
  iio: afe: rescale: Re-use generic struct s32_fract
  iio: afe: rescale: Don't use "proxy" headers

 drivers/iio/afe/iio-rescale.c   | 88 ++++++++++++++++++---------------
 include/linux/iio/afe/rescale.h |  5 +-
 2 files changed, 51 insertions(+), 42 deletions(-)

-- 
2.43.0.rc1.1336.g36b5255a03ac


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ