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]
Date:   Sun, 14 Feb 2021 00:45:52 +0800
From:   Dejin Zheng <zhengdejin5@...il.com>
To:     miquel.raynal@...tlin.com, richard@....at, vigneshr@...com,
        nixiaoming@...wei.com
Cc:     linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
        Dejin Zheng <zhengdejin5@...il.com>
Subject: [PATCH mtd/next 0/8] Introduces the module_mtd_blktrans macro

This patchset introduces the module_mtd_blktrans macro which is a
convenience macro for mtd blktrans modules similar to
module_platform_driver. It is intended to be used by drivers which
init/exit section does nothing but register/unregister the mtd
blktrans driver. By using this macro it is possible to eliminate a
few lines of boilerplate code per mtd blktrans driver.

Dejin Zheng (8):
  mtd: Add helper macro for register_mtd_blktrans boilerplate
  mtd: ftl: Use module_mtd_blktrans to register driver
  mtd: inftlcore: Use module_mtd_blktrans to register driver
  mtd: mtdblock: Use module_mtd_blktrans to register driver
  mtd: mtdblock_ro: Use module_mtd_blktrans to register driver
  mtd: mtdswap: Use module_mtd_blktrans to register driver
  mtd: nftlcore: Use module_mtd_blktrans to register driver
  mtd: rfd_ftl: Use module_mtd_blktrans to register driver

 drivers/mtd/ftl.c            | 14 +-------------
 drivers/mtd/inftlcore.c      | 13 +------------
 drivers/mtd/mtdblock.c       | 14 +-------------
 drivers/mtd/mtdblock_ro.c    | 13 +------------
 drivers/mtd/mtdswap.c        | 14 +-------------
 drivers/mtd/nftlcore.c       | 13 +------------
 drivers/mtd/rfd_ftl.c        | 13 +------------
 include/linux/mtd/blktrans.h | 11 +++++++++++
 8 files changed, 18 insertions(+), 87 deletions(-)

-- 
2.25.0

Powered by blists - more mailing lists