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: <20200309021747.626-1-zhenzhong.duan@gmail.com>
Date:   Mon,  9 Mar 2020 10:17:44 +0800
From:   Zhenzhong Duan <zhenzhong.duan@...il.com>
To:     linux-kernel@...r.kernel.org
Cc:     jdike@...toit.com, richard@....at, anton.ivanov@...bridgegreys.com,
        miguel.ojeda.sandonis@...il.com, willy@...roxy.com,
        ksenija.stanojevic@...il.com, arnd@...db.de,
        gregkh@...uxfoundation.org, mpm@...enic.com,
        herbert@...dor.apana.org.au, jonathan@...zard.org.uk,
        benh@...nel.crashing.org, davem@...emloft.net,
        b.zolnierkie@...sung.com, rjw@...ysocki.net, pavel@....cz,
        len.brown@...el.com, Zhenzhong Duan <zhenzhong.duan@...il.com>
Subject: [PATCH RFC 0/3] clean up misc device minor numbers

Some the misc device minor numbers definitions spread in different
local c files, specially some are duplicate number with different
name, some are same name with conflict numbers, some prefer dynamic
minors.

This patchset try to address all of them.

To be honest, I didn't try build on arm or sparc arch which some
drivers depend on as I have little experience on cross-compile.
But I still checked the patch carefully to ensure it builds
in theory. Appreciate if anyone willing to test build on those arch.

Zhenzhong Duan (3):
  misc: cleanup minor number definitions in c file into miscdevice.h
  misc: move FLASH_MINOR into miscdevice.h and fix conflicts
  speakup: misc: Use dynamic minor numbers for speakup devices

 arch/arm/include/asm/nwflash.h         |  1 -
 arch/um/drivers/random.c               |  4 +---
 drivers/auxdisplay/charlcd.c           |  2 --
 drivers/auxdisplay/panel.c             |  2 --
 drivers/char/applicom.c                |  1 -
 drivers/char/hw_random/core.c          |  2 +-
 drivers/char/nwbutton.h                |  1 -
 drivers/char/nwflash.c                 |  2 +-
 drivers/char/toshiba.c                 |  2 --
 drivers/macintosh/ans-lcd.c            |  2 +-
 drivers/macintosh/ans-lcd.h            |  2 --
 drivers/macintosh/via-pmu.c            |  3 ---
 drivers/sbus/char/envctrl.c            |  2 --
 drivers/sbus/char/flash.c              |  4 +---
 drivers/sbus/char/uctrl.c              |  2 --
 drivers/staging/speakup/devsynth.c     | 10 +++-------
 drivers/staging/speakup/speakup_soft.c | 14 +++++++-------
 drivers/video/fbdev/pxa3xx-gcu.c       |  7 +++----
 include/linux/miscdevice.h             | 14 +++++++++++++-
 kernel/power/user.c                    |  2 --
 20 files changed, 31 insertions(+), 48 deletions(-)

-- 
1.8.3.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ