mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 08:43:43 +00:00
trivial: fu-device: Downgrade warnings about overwiting same name to debug
Commit 0f72ef2f88
causes probe to be re-run on FuDevices.
Any devices derived from FuUsbDevice that set the "Name" key will have the
quirks re-evaluated when GUIDs are added again leading to warnings like this:
```
(fwupdtool:8259): Fu-WARNING **: 23:04:43.144: device 970e85c8400ed95ec5c02b86e52a0ca4ce6fc051 overwriting same name value: Dell USB hub
```
This commit is contained in:
parent
3a8d532855
commit
4631bd7f21
@ -869,8 +869,8 @@ fu_device_set_name (FuDevice *device, const gchar *value)
|
|||||||
|
|
||||||
/* overwriting? */
|
/* overwriting? */
|
||||||
if (g_strcmp0 (value, fu_device_get_name (device)) == 0) {
|
if (g_strcmp0 (value, fu_device_get_name (device)) == 0) {
|
||||||
g_warning ("device %s overwriting same name value: %s",
|
g_debug ("device %s overwriting same name value: %s",
|
||||||
fu_device_get_id (device), value);
|
fu_device_get_id (device), value);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user