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-next>] [day] [month] [year] [list]
Message-Id: <20210816114732.1834145-1-daniel.lezcano@linaro.org>
Date:   Mon, 16 Aug 2021 13:47:22 +0200
From:   Daniel Lezcano <daniel.lezcano@...aro.org>
To:     andriy.shevchenko@...ux.intel.com, akpm@...ux-foundation.org
Cc:     jic23@...nel.org, linux-kernel@...r.kernel.org, ceggers@...i.de,
        lukasz.luba@....com, myungjoo.ham@...sung.com,
        kyungmin.park@...sung.com, lars@...afoo.de, pmeerw@...erw.net,
        rui.zhang@...el.com, linux@...ck-us.net, miquel.raynal@...tlin.com,
        mcoquelin.stm32@...il.com, rafael@...nel.org,
        daniel.lezcano@...aro.org
Subject: [PATCH v3 00/10] Add Hz macros 

There are multiple definitions of the HZ_PER_MHZ or HZ_PER_KHZ in the
different drivers. Instead of duplicating this definition again and
again, add one in the units.h header to be reused in all the place
the redefiniton occurs.

At the same time, change the type of the Watts, as they can not be
negative.

Daniel Lezcano (10):
  units: Change from 'L' to 'UL'
  units: Add the HZ macros
  thermal/drivers/devfreq_cooling: Use HZ macros
  devfreq: Use HZ macros
  iio/drivers/as73211: Use HZ macros
  hwmon/drivers/mr75203: Use HZ macros
  iio/drivers/hid-sensor: Use HZ macros
  i2c/drivers/ov02q10: Use HZ macros
  mtd/drivers/nand: Use HZ macros
  phy/drivers/stm32: Use HZ macros

 drivers/devfreq/devfreq.c                              |  2 +-
 drivers/hwmon/mr75203.c                                |  2 +-
 drivers/iio/common/hid-sensors/hid-sensor-attributes.c |  3 +--
 drivers/iio/light/as73211.c                            |  3 +--
 drivers/media/i2c/ov02a10.c                            |  2 +-
 drivers/mtd/nand/raw/intel-nand-controller.c           |  2 +-
 drivers/phy/st/phy-stm32-usbphyc.c                     |  2 +-
 drivers/thermal/devfreq_cooling.c                      |  2 +-
 include/linux/units.h                                  | 10 +++++++---
 9 files changed, 15 insertions(+), 13 deletions(-)

-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ