On 11/02/09 10:26, Amit Shah wrote:
A bus may have hotplugging enabled but not have the 'unplug'
callback defined, which would lead to a crash on trying to
unplug a device on the bus.

Fix by introducing an assert to check if the callback is valid.

Signed-off-by: Amit Shah<amit.s...@redhat.com>

Acked-by: Gerd Hoffmann <kra...@redhat.com>

cheers,
  Gerd



Reply via email to