[PATCH 0/3] Introduce device_add_disk() to kill gendisk.driverfs_dev
From: Dan Williams
Date: Thu Feb 25 2016 - 15:06:06 EST
Answer the "// FIXME: remove" include/linux/genhd.h. This should be
functionally equivalent to the previous state. Now that the WARN_ON()
for the registration failure case is up-levelled to some drivers, they
can take on the follow on work to handle device_add_disk() failures.
Note, a full run from the kbuild robot is still pending. I'll post v2
if it reports anything against this set on top of current -next.
---
Dan Williams (3):
block: introduce device_add_disk()
block: convert to device_add_disk()
block: remove ->driverfs_dev
arch/powerpc/sysdev/axonram.c | 3 +--
arch/um/drivers/ubd_kern.c | 3 +--
block/genhd.c | 27 ++++++++++++---------------
drivers/block/cciss.c | 3 +--
drivers/block/floppy.c | 4 ++--
drivers/block/mtip32xx/mtip32xx.c | 5 ++---
drivers/block/ps3disk.c | 3 +--
drivers/block/ps3vram.c | 3 +--
drivers/block/rsxx/dev.c | 4 +---
drivers/block/skd_main.c | 8 +++-----
drivers/block/sunvdc.c | 3 +--
drivers/block/virtio_blk.c | 3 +--
drivers/block/xen-blkfront.c | 3 +--
drivers/ide/ide-cd.c | 3 +--
drivers/ide/ide-gd.c | 3 +--
drivers/memstick/core/ms_block.c | 3 +--
drivers/memstick/core/mspro_block.c | 3 +--
drivers/mmc/card/block.c | 3 +--
drivers/mtd/mtd_blkdevs.c | 4 +---
drivers/nvdimm/blk.c | 3 +--
drivers/nvdimm/btt.c | 3 +--
drivers/nvdimm/bus.c | 2 +-
drivers/nvdimm/pmem.c | 3 +--
drivers/nvme/host/core.c | 3 +--
drivers/s390/block/dasd_genhd.c | 3 +--
drivers/s390/block/dcssblk.c | 3 +--
drivers/s390/block/scm_blk.c | 3 +--
drivers/scsi/sd.c | 3 +--
drivers/scsi/sr.c | 3 +--
include/linux/genhd.h | 8 ++++++--
30 files changed, 50 insertions(+), 78 deletions(-)