Thread (7 messages) 7 messages, 2 authors, 2011-03-16

Re: [PATCH 0/2] Fix hot-unplug: device removal while port in use

From: Rusty Russell <hidden>
Date: 2011-03-16 04:01:03

On Fri, 11 Mar 2011 16:46:28 +0530, Amit Shah [off-list ref] wrote:
Ideally virtio_pci_release_dev() shouldn't be needed at all; all that
work can be moved to virtio_pci_remove().  virtio_pci_release_dev()
was added in 29f9f12e to curb a warning:

    virtio: add PCI device release() function
    
    Add a release() function for virtio_pci devices so as to avoid:
    
      Device 'virtio0' does not have a release() function, it is
      broken and must be fixed
    

So we could have an empty release() function that does nothing, and
all of the current functionality be moved to virtio_pci_remove(), as
it was earlier.  This should keep everyone happy.

Is that fine?
Greg K-H needs to be asked this question, I think.

Cheers,
Rusty.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help