search for: f00d3b4

Displaying 3 results from an estimated 3 matches for "f00d3b4".

2016 Aug 17
0
[PATCH 15/15] block: Add FIXME comment to handle device_add_disk error
...{ set_capacity(Controller->disks[disk], disk_size(Controller, disk)); + /* FIXME: handle error. */ device_add_disk(NULL, Controller->disks[disk], NULL); } DAC960_CreateProcEntries(Controller); diff --git a/drivers/block/amiflop.c b/drivers/block/amiflop.c index f00d3b4..48de00b 100644 --- a/drivers/block/amiflop.c +++ b/drivers/block/amiflop.c @@ -1738,6 +1738,7 @@ static int __init fd_probe_drives(void) sprintf(disk->disk_name, "fd%d", drive); disk->private_data = &unit[drive]; set_capacity(disk, 880*2); + /* FIXME: handle error. */...
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