Skip to content

clean up misc device minor numbers

Zhenzhong Duan lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v1 RFC3 patches 12 repliesSuperseded

Changes in v2 from the cover letter

PATCH1: keep HWRNG_MINOR name and fix RNG_MISCDEV_MINOR per Herbert.
PATCH2: fix typo error with PXA3XX_GCU_MINOR per Arnd.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2misc: cleanup minor number definitions in c file into miscdevice.harch/um/drivers/random.c drivers/auxdisplay/charlcd.c drivers/auxdisplay/panel.c +11 more+15 -272 replies
2/2misc: move FLASH_MINOR into miscdevice.h and fix conflictsarch/arm/include/asm/nwflash.h drivers/char/nwflash.c drivers/sbus/char/flash.c +1 more+4 -50 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchWilly TARREAUMiguel OjedaArnd BergmannHerbert XuBartlomiej Zolnierkiewicz
1/2Build-tested-by Build-tested-by A-b A-b A-b A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] clean up misc device minor numbers

Some of 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.

Thanks Willy and Miguel help building test on ARM arch, no new change on ARM part in v2 so it should pass build on ARM obviously.

PATCH3 "speakup: misc: Use dynamic minor numbers for speakup devices" is dropped in v2, will process it separately if there is response from maintainer later.

v2:
PATCH1: keep HWRNG_MINOR name and fix RNG_MISCDEV_MINOR per Herbert.
PATCH2: fix typo error with PXA3XX_GCU_MINOR per Arnd.

Zhenzhong Duan (2):
misc: cleanup minor number definitions in c file into miscdevice.h
misc: move FLASH_MINOR into miscdevice.h and fix conflicts

 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/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/video/fbdev/pxa3xx-gcu.c |  7 +++----
 include/linux/miscdevice.h       | 12 ++++++++++++
 kernel/power/user.c              |  2 --
 17 files changed, 19 insertions(+), 32 deletions(-)
Signature · 1 line
1.8.3.1