Skip to content

rename LED_OFF and LED_ON to avoid name collision with leds subsystem

Akinobu Mita linux-block linux-leds 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3block: umem: rename LED_* macros to LEDCTRL_*drivers/block/umem.c drivers/block/umem.h+20 -205 replies
2/3scsi: mvsas: rename LED_* enums to SGPIO_LED_*drivers/scsi/mvsas/mv_94xx.c drivers/scsi/mvsas/mv_94xx.h+13 -132 replies
3/3scsi: nsp32: rename LED_* macros to EXT_PORT_LED_*drivers/scsi/nsp32.c drivers/scsi/nsp32.h+5 -52 replies

Reviews trailers per patch

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

PatchHannes ReineckePavel Machek
1/3R-b
2/3R-b A-b
3/3R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] rename LED_OFF and LED_ON to avoid name collision with leds subsystem

These are preparatory changes for LED block device activity trigger.

Some drivers internally defines LED_OFF and LED_ON, but they conflict with the LED subsystem's LED_OFF and LED_ON enums.
This renames these driver's LED_* definisions to avoid the name collision.

Akinobu Mita (3):
block: umem: rename LED_* macros to LEDCTRL_*
scsi: mvsas: rename LED_* enums to SGPIO_LED_*
scsi: nsp32: rename LED_* macros to EXT_PORT_LED_*

 drivers/block/umem.c         | 20 ++++++++++----------
 drivers/block/umem.h         | 20 ++++++++++----------
 drivers/scsi/mvsas/mv_94xx.c |  2 +-
 drivers/scsi/mvsas/mv_94xx.h | 24 ++++++++++++------------
 drivers/scsi/nsp32.c         |  6 +++---
 drivers/scsi/nsp32.h         |  4 ++--
 6 files changed, 38 insertions(+), 38 deletions(-)
Cc Frank Steiner <[email protected]>
Cc Jacek Anaszewski <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Dan Murphy <[email protected]>
Cc Jens Axboe <[email protected]>
Cc "James E.J. Bottomley" <[email protected]>
Cc "Martin K. Petersen" <[email protected]>
Cc GOTO Masanori <[email protected]>
Cc YOKOTA Hiroshi <[email protected]>
Signature · 1 line
2.7.4