search for: 44cb01d

Displaying 3 results from an estimated 3 matches for "44cb01d".

2016 Aug 17
0
[PATCH 15/15] block: Add FIXME comment to handle device_add_disk error
...tatic void carm_fsm_task (struct work_struct *work) struct gendisk *disk = port->disk; set_capacity(disk, port->capacity); + /* FIXME: handle error. */ device_add_disk(NULL, disk, NULL); activated++; } diff --git a/drivers/block/umem.c b/drivers/block/umem.c index 44cb01d..016a0db 100644 --- a/drivers/block/umem.c +++ b/drivers/block/umem.c @@ -1096,6 +1096,7 @@ static int __init mm_init(void) disk->private_data = &cards[i]; disk->queue = cards[i].queue; set_capacity(disk, cards[i].mm_size << 1); + /* FIXME: handle error. */ device_add_d...
2016 Aug 17
20
[PATCH 00/15] Fix issue with KOBJ_ADD uevent versus disk attributes
This is an attempt to fix the issue that some disks' sysfs attributes are not ready at the time its KOBJ_ADD event is sent. The symptom is during device hotplug, udev may fail to find certain attributes, such as serial or wwn, of the disk. As a result the /dev/disk/by-id entries are not created. The cause is device_add_disk emits the uevent before returning, and the callers have to create
2016 Aug 17
20
[PATCH 00/15] Fix issue with KOBJ_ADD uevent versus disk attributes
This is an attempt to fix the issue that some disks' sysfs attributes are not ready at the time its KOBJ_ADD event is sent. The symptom is during device hotplug, udev may fail to find certain attributes, such as serial or wwn, of the disk. As a result the /dev/disk/by-id entries are not created. The cause is device_add_disk emits the uevent before returning, and the callers have to create