mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-25 08:31:56 +00:00
scsi: Call the ->probe superclass
I don't *think* it's going to add anything remarkable, but it's good to match the other plugins.
This commit is contained in:
parent
79cbdd9395
commit
8a706b470a
@ -48,6 +48,10 @@ fu_scsi_device_probe(FuDevice *device, GError **error)
|
||||
g_autoptr(FuUdevDevice) ufshci_parent = NULL;
|
||||
const gchar *subsystem_parents[] = {"pci", "platform", NULL};
|
||||
|
||||
/* FuUdevDevice->probe */
|
||||
if (!FU_DEVICE_CLASS(fu_scsi_device_parent_class)->probe(device, error))
|
||||
return FALSE;
|
||||
|
||||
/* check is valid */
|
||||
if (g_strcmp0(g_udev_device_get_devtype(udev_device), "disk") != 0) {
|
||||
g_set_error(error,
|
||||
|
Loading…
Reference in New Issue
Block a user