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

Abhay_Salunke
2005-07-08T19:54:33Z

> 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