RE: [patch 2.6.12-rc3] modified firmware_class.c to add a new function request_firmware_nowait_nohotplug

From: Abhay_Salunke
Date: Fri Jul 08 2005 - 14:59:10 EST


> Also, why not just add the hotplug flag to the firmware structure?
That
request_firmware kmalloc's the firmware structure and frees it when
returned. The only way to indicate request_firmware to skip hotplug was
by passing a hotplug flag on the stack.
> way you don't have to add another function just to add another flag.
> And you could probably get rid of the nowait version in the same way.
Also thought of leaving request_firmware_nowait intact didn't want to
break others using this function.

Thanks
Abhay
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/