]> xenbits.xensource.com Git - libvirt.git/commit
node_device_udev: Pass the driver state as parameter in preparation for the next...
authorMarc Hartmayer <mhartmay@linux.ibm.com>
Tue, 23 Apr 2024 18:09:01 +0000 (20:09 +0200)
committerJonathon Jongsma <jjongsma@redhat.com>
Tue, 18 Jun 2024 14:00:30 +0000 (09:00 -0500)
commit01ab7047e930766a1ee4dd269927d1937dc4c76b
treebc8168ca9b05dcb80a8fdf40656ad2ea106bf140
parent2c3e4a0f6e23dbe9247d87d4bfd6951d5c9297c3
node_device_udev: Pass the driver state as parameter in preparation for the next commit

It's better practice for all functions called by the threads to pass the driver
via parameter and not global variables. Easier to test and cleaner.

Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
src/node_device/node_device_driver.c
src/node_device/node_device_driver.h
src/node_device/node_device_udev.c