]> git.proxmox.com Git - fwupd.git/log
fwupd.git
5 months agod/control: downgrade udisks2 to Suggests proxmox/bookworm
Fabian Grünbichler [Fri, 19 Apr 2024 09:48:37 +0000 (11:48 +0200)]
d/control: downgrade udisks2 to Suggests

udisks is known to cause issues, don't pull it in unnecessarily..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
8 months agobump version to 1.8.12-2+pmx1
Fabian Grünbichler [Fri, 12 Jan 2024 10:19:15 +0000 (11:19 +0100)]
bump version to 1.8.12-2+pmx1

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
8 months agoconfig: force "proxmox" EFI dir
Fabian Grünbichler [Fri, 12 Jan 2024 10:19:07 +0000 (11:19 +0100)]
config: force "proxmox" EFI dir

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
18 months agoupdate d/control for Proxmox
Fabian Grünbichler [Mon, 20 Mar 2023 10:32:38 +0000 (11:32 +0100)]
update d/control for Proxmox

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
18 months agoreleasing package fwupd version 1.8.12-2
Mario Limonciello [Sun, 26 Feb 2023 17:05:48 +0000 (11:05 -0600)]
releasing package fwupd version 1.8.12-2

18 months agoBackport a series of patches to help with autopkgtest failing when compiled against...
Mario Limonciello [Sun, 26 Feb 2023 16:52:55 +0000 (10:52 -0600)]
Backport a series of patches to help with autopkgtest failing when compiled against an older gusb.

18 months agotrivial: debian: install device tests only if found during build
Mario Limonciello [Sun, 26 Feb 2023 14:48:27 +0000 (08:48 -0600)]
trivial: debian: install device tests only if found during build

18 months agoreleasing package fwupd version 1.8.12-1
Mario Limonciello [Fri, 24 Feb 2023 20:23:19 +0000 (14:23 -0600)]
releasing package fwupd version 1.8.12-1

18 months agoAdd pandoc to b-d
Mario Limonciello [Fri, 24 Feb 2023 20:19:16 +0000 (14:19 -0600)]
Add pandoc to b-d

18 months agoNew upstream version (1.8.12)
Mario Limonciello [Fri, 24 Feb 2023 20:14:17 +0000 (14:14 -0600)]
New upstream version (1.8.12)

* New upstream version (1.8.12)
* Fixes some regressions with other fwupd clients.

18 months agoMerge tag '1.8.12' into debian
Mario Limonciello [Fri, 24 Feb 2023 20:12:56 +0000 (14:12 -0600)]
Merge tag '1.8.12' into debian

Release fwupd 1.8.12

18 months agoRelease fwupd 1.8.12
Richard Hughes [Fri, 24 Feb 2023 14:53:27 +0000 (14:53 +0000)]
Release fwupd 1.8.12

18 months agoDo not check for at least one loaded backend
Richard Hughes [Thu, 23 Feb 2023 19:48:25 +0000 (19:48 +0000)]
Do not check for at least one loaded backend

If we're building for OpenBMC then we might not have USB -- and it's perfectly
valid to just use plugin methods and not backends.

18 months agoRevert "Only accept application/x-xz compression for the metadata payload"
Richard Hughes [Fri, 24 Feb 2023 14:14:09 +0000 (14:14 +0000)]
Revert "Only accept application/x-xz compression for the metadata payload"

This reverts commit df8a6a7eaf46462e5861c80176e6a8d83e6ccb1f.

Vendors are using xml.gz remotes...

18 months agoAllow setting the package user agent before the client has connected
Richard Hughes [Fri, 24 Feb 2023 13:50:47 +0000 (13:50 +0000)]
Allow setting the package user agent before the client has connected

This fixes a regression introduced in https://github.com/fwupd/fwupd/pull/5528
where we added a critical warning if setting the package user agent before we
retrieved the fwupd daemon version.

If we rebuild the user agent whenever we get new information it does not matter
in which order these are set.

18 months agoreleasing package fwupd version 1.8.11-1
Mario Limonciello [Thu, 23 Feb 2023 19:03:36 +0000 (13:03 -0600)]
releasing package fwupd version 1.8.11-1

18 months agodrop patches
Mario Limonciello [Thu, 23 Feb 2023 19:04:48 +0000 (13:04 -0600)]
drop patches

18 months agoAdd libjaylink-dev for flashrom
Mario Limonciello [Thu, 23 Feb 2023 17:40:06 +0000 (11:40 -0600)]
Add libjaylink-dev for flashrom

18 months agoupdate changelog
Mario Limonciello [Thu, 23 Feb 2023 15:56:58 +0000 (09:56 -0600)]
update changelog

18 months agoRelease fwupd 1.8.11
Richard Hughes [Thu, 23 Feb 2023 10:17:40 +0000 (10:17 +0000)]
Release fwupd 1.8.11

18 months agoFix a critical warning when parsing an empty kernel cmdline
Richard Hughes [Wed, 22 Feb 2023 21:14:22 +0000 (21:14 +0000)]
Fix a critical warning when parsing an empty kernel cmdline

Fix the bounds check so we never pass a bufsz of zero to fu_strsplit().

Resolves: https://github.com/fwupd/fwupd/issues/5575

18 months agotrivial: drop fwupdagent bash-completion
Mario Limonciello [Wed, 22 Feb 2023 15:26:41 +0000 (09:26 -0600)]
trivial: drop fwupdagent bash-completion

fwupdagent is a symlink to fwupdmgr, all the commands are the same now

18 months agotrivial: Add some wisdom about self-signing updates for testing
Richard Hughes [Wed, 22 Feb 2023 13:09:52 +0000 (13:09 +0000)]
trivial: Add some wisdom about self-signing updates for testing

18 months agouefi-capsule: Add some wisdom on version formats
Richard Hughes [Tue, 21 Feb 2023 17:30:19 +0000 (17:30 +0000)]
uefi-capsule: Add some wisdom on version formats

I'm answering this question a lot, so add some UEFI-specific notes.

18 months agotrivial: don't install bash completion for fwupdagent unless compat_cli is set
Mario Limonciello [Tue, 21 Feb 2023 16:58:13 +0000 (10:58 -0600)]
trivial: don't install bash completion for fwupdagent unless compat_cli is set

18 months agotrivial: snap: drop compatbility tools from snap
Mario Limonciello [Tue, 21 Feb 2023 15:38:27 +0000 (09:38 -0600)]
trivial: snap: drop compatbility tools from snap

18 months agotrivial: flip compat_cli default
Mario Limonciello [Tue, 21 Feb 2023 15:38:06 +0000 (09:38 -0600)]
trivial: flip compat_cli default

We've had compat_cli around for since fwupd 1.7.2.  We've given people
enough time to migrate, and so we should stop shipping the compatibility
tools by default too.

They're still there is someone (or an enterprise distro) needs them.

18 months agotrivial: only install fwupdagent man page if compat_cli set
Mario Limonciello [Tue, 21 Feb 2023 16:10:50 +0000 (10:10 -0600)]
trivial: only install fwupdagent man page if compat_cli set

18 months agotrivial: enable compat_cli for void
Mario Limonciello [Tue, 21 Feb 2023 15:42:01 +0000 (09:42 -0600)]
trivial: enable compat_cli for void

We want to make sure we have at least one job still running it so
we don't regress it.

18 months agoBe more nuanced when considering if the system is on AC power
Richard Hughes [Mon, 20 Feb 2023 16:59:29 +0000 (16:59 +0000)]
Be more nuanced when considering if the system is on AC power

This should be no beahviour change, but it allows the powerd and upower plugins
to provide more information in the future.

Fixes https://github.com/fwupd/fwupd/issues/3386

18 months agoIndicate HSI attributes that will only be returned for specific CPU vendors
Richard Hughes [Tue, 21 Feb 2023 13:56:11 +0000 (13:56 +0000)]
Indicate HSI attributes that will only be returned for specific CPU vendors

18 months agoAllow enabling low-level debugging of fwupdx64.efi from uefi_capsule.conf
Richard Hughes [Tue, 21 Feb 2023 14:30:46 +0000 (14:30 +0000)]
Allow enabling low-level debugging of fwupdx64.efi from uefi_capsule.conf

Short-to-medium-term we want to stop installing fwupdate and this was the last
useful part we never migrated.

18 months agoAllow filtering the output of get-devices by the device ID
Richard Hughes [Tue, 21 Feb 2023 10:13:29 +0000 (10:13 +0000)]
Allow filtering the output of get-devices by the device ID

This means you can print the one thing you care about.

18 months agotrivial: Add device tests for the CalDigit TS4 USB-4 device
Richard Hughes [Tue, 21 Feb 2023 13:47:12 +0000 (13:47 +0000)]
trivial: Add device tests for the CalDigit TS4 USB-4 device

18 months agotrivial: Add the closure user_data to the introspection
Richard Hughes [Mon, 20 Feb 2023 20:54:16 +0000 (20:54 +0000)]
trivial: Add the closure user_data to the introspection

18 months agodfu: Allow DFU devices to declare the payload in the XML metadata
Richard Hughes [Mon, 20 Feb 2023 15:22:48 +0000 (15:22 +0000)]
dfu: Allow DFU devices to declare the payload in the XML metadata

The DFU protocol can be used to transfer both signed and unsigned content, and
it's up to the device to do the right thing.

18 months agotrivial: Use a better message when a device does not declare the payload
Richard Hughes [Mon, 20 Feb 2023 15:22:07 +0000 (15:22 +0000)]
trivial: Use a better message when a device does not declare the payload

Fixes https://github.com/fwupd/fwupd/issues/5504

18 months agotrivial: Add a compile version for libxmlb
Richard Hughes [Mon, 20 Feb 2023 14:47:45 +0000 (14:47 +0000)]
trivial: Add a compile version for libxmlb

18 months agoredfish: Only offset the IPMI user_id when using XCC
Richard Hughes [Mon, 20 Feb 2023 14:19:14 +0000 (14:19 +0000)]
redfish: Only offset the IPMI user_id when using XCC

Both iDRAC and SuperMicro do the sensible thing.

Fixes https://github.com/fwupd/fwupd/issues/5129

18 months agoDo not update the MOTD during a composite update
Richard Hughes [Mon, 20 Feb 2023 13:34:42 +0000 (13:34 +0000)]
Do not update the MOTD during a composite update

18 months agotrivial: Add a device test for the CalDigit Element Hub
Richard Hughes [Mon, 20 Feb 2023 13:22:26 +0000 (13:22 +0000)]
trivial: Add a device test for the CalDigit Element Hub

18 months agointel-usb4: Prefer this plugin over the Thunderbolt plugin
Richard Hughes [Mon, 20 Feb 2023 12:04:32 +0000 (12:04 +0000)]
intel-usb4: Prefer this plugin over the Thunderbolt plugin

This also means we don't accidentally run the `FuDevice->attach()` and
`FuDevice->cleanup()` methods on the `FuThunderboltDevice` as this enumerates
first after the post-update replug.

18 months agointel-usb4: Use ONLY_WAIT_FOR_REPLUG to speed up emulation
Richard Hughes [Mon, 20 Feb 2023 11:59:10 +0000 (11:59 +0000)]
intel-usb4: Use ONLY_WAIT_FOR_REPLUG to speed up emulation

18 months agointel-usb4: Allow setting the name from the metadata
Richard Hughes [Mon, 20 Feb 2023 11:28:59 +0000 (11:28 +0000)]
intel-usb4: Allow setting the name from the metadata

We can do so much better than 'USB3.0 Hub'.

18 months agoAllow using requirements <firmware depth=0> with no parent
Richard Hughes [Mon, 20 Feb 2023 11:22:52 +0000 (11:22 +0000)]
Allow using requirements <firmware depth=0> with no parent

In this context a depth of 0 with no siblings means 'an only child' which
in practice means 'the device itself'.

18 months agointel-usb4: Set the remove delay to avoid a console warning
Richard Hughes [Mon, 20 Feb 2023 11:20:31 +0000 (11:20 +0000)]
intel-usb4: Set the remove delay to avoid a console warning

18 months agointel-usb4: Implement FuDevice->set_progress() to avoid a warning
Richard Hughes [Mon, 20 Feb 2023 11:20:09 +0000 (11:20 +0000)]
intel-usb4: Implement FuDevice->set_progress() to avoid a warning

18 months agotrivial: snap: install git package as build-deps explicitly
Mario Limonciello [Mon, 20 Feb 2023 05:48:13 +0000 (23:48 -0600)]
trivial: snap: install git package as build-deps explicitly

Hopefully this gets us the source_version set in fwupdmgr --version
and also the tag for use to mark as supported build or not.

18 months agosnap: restore automatic promotion, but to candidate channel
Mario Limonciello [Mon, 20 Feb 2023 05:39:55 +0000 (23:39 -0600)]
snap: restore automatic promotion, but to candidate channel

Snap is switched to confined but we have to worry about timing our
next release with the new snapd which can work with it.

When we issue our next release we do want to get a binary saved at least,
so let's promote to the 'candidate' channel come release time.

This effectively reverts commit 57282a59033bd0e6cbb639a63a6a062e26dceabf.

When the new snapd is out and we're happy enough with the results we
can switch this back to automatic promotion to the stable channel again.

18 months agoOnly accept application/x-xz compression for the metadata payload
Richard Hughes [Sun, 19 Feb 2023 19:17:13 +0000 (19:17 +0000)]
Only accept application/x-xz compression for the metadata payload

Fixes some of https://github.com/fwupd/fwupd/issues/5553

18 months agoAdd a quirk for COD detection
Mario Limonciello [Mon, 9 Jan 2023 14:54:44 +0000 (08:54 -0600)]
Add a quirk for COD detection

Insyde has added a bit into the ACPI UEFI table that can be utilized
to detect if they have fixed the COD bug.

This means that COD can be turned on by default for X86 for all vendors
that support it, and if Insyde is encountered whenever that bit is active.

18 months agoAdd a generic ACPI table parser
Richard Hughes [Sat, 18 Feb 2023 12:28:41 +0000 (12:28 +0000)]
Add a generic ACPI table parser

18 months agoDo not run the FuProgress self tests by default
Richard Hughes [Sat, 18 Feb 2023 07:56:34 +0000 (07:56 +0000)]
Do not run the FuProgress self tests by default

These add over 1000ms to the run time, and also do not work well when
virtualized via qemu.

Fixes https://github.com/fwupd/fwupd/issues/5547

18 months agotrivial: fix overwriting errors for existence of shim
Mario Limonciello [Fri, 17 Feb 2023 16:25:32 +0000 (10:25 -0600)]
trivial: fix overwriting errors for existence of shim
fixes: #5545

18 months agoUse a heuristic to set ignore-system-power for all Lenovo batteries
Richard Hughes [Thu, 16 Feb 2023 14:10:39 +0000 (14:10 +0000)]
Use a heuristic to set ignore-system-power for all Lenovo batteries

18 months agotrivial: fix typo
Frédéric Danis [Fri, 17 Feb 2023 08:26:56 +0000 (09:26 +0100)]
trivial: fix typo

18 months agotrivial: Add FuProgress to FuPlugin->backend_device_added()
Richard Hughes [Thu, 16 Feb 2023 20:35:48 +0000 (20:35 +0000)]
trivial: Add FuProgress to FuPlugin->backend_device_added()

Now we know fu_synaptics_mst_plugin_device_rescan() takes ~267ms...

18 months agotrivial: Speed up coldplug by respecting REQUEST_KIND_ONLY_SUPPORTED
Richard Hughes [Thu, 16 Feb 2023 19:59:52 +0000 (19:59 +0000)]
trivial: Speed up coldplug by respecting REQUEST_KIND_ONLY_SUPPORTED

18 months agotrivial: Only call fu_engine_md_refresh_device_from_component once per device add
Richard Hughes [Thu, 16 Feb 2023 14:09:23 +0000 (14:09 +0000)]
trivial: Only call fu_engine_md_refresh_device_from_component once per device add

See also e0384192400c83545cbe365667321e6bc83cec13 for more details.

18 months agotrivial: be consistent about the vendor string for AMD
Mario Limonciello [Thu, 16 Feb 2023 16:50:37 +0000 (10:50 -0600)]
trivial: be consistent about the vendor string for AMD

18 months agotrivial: add a plugin to show VBIOS version for AMD APUs
Mario Limonciello [Wed, 15 Feb 2023 23:06:24 +0000 (17:06 -0600)]
trivial: add a plugin to show VBIOS version for AMD APUs

The VBIOS version is actually fetched by udev, this plugin sets
up the relationship so it's displayed in the right place.

18 months agotrivial: read `vbios_version` on dGPUs
Mario Limonciello [Wed, 15 Feb 2023 22:52:17 +0000 (16:52 -0600)]
trivial: read `vbios_version` on dGPUs

This allows getting a read only view of the VBIOS version advertised
by the dGPU driver.

18 months agotrivial: read the class sysfs file if present
Mario Limonciello [Wed, 15 Feb 2023 22:51:41 +0000 (16:51 -0600)]
trivial: read the class sysfs file if present

18 months agotrivial: add a new helper to read a sysfs attr as guint32
Mario Limonciello [Wed, 15 Feb 2023 22:51:17 +0000 (16:51 -0600)]
trivial: add a new helper to read a sysfs attr as guint32

18 months agotrivial: snap: install shim into the snap as well
Mario Limonciello [Thu, 9 Feb 2023 16:50:20 +0000 (10:50 -0600)]
trivial: snap: install shim into the snap as well

Fixes: #5485
18 months agotrivial: snap: install EFI binaries into $ESP/fwupd instead
Mario Limonciello [Thu, 9 Feb 2023 16:50:07 +0000 (10:50 -0600)]
trivial: snap: install EFI binaries into $ESP/fwupd instead

18 months agotrivial: uefi-capsule: drop the fallback to removable path flag
Mario Limonciello [Thu, 9 Feb 2023 16:44:43 +0000 (10:44 -0600)]
trivial: uefi-capsule: drop the fallback to removable path flag

It was used for ubuntu-core with a confined fwupd, but now we will
load our own shim as necessary to the ESP.

18 months agouefi-capsule: Copy in an updated shim if provided
Mario Limonciello [Thu, 9 Feb 2023 16:43:21 +0000 (10:43 -0600)]
uefi-capsule: Copy in an updated shim if provided

If a shim is in the fwupd libexec/efi directory, it's intended to
be paired with the fwupd binary.

18 months agoOffer to enable emulation if disabled
Richard Hughes [Thu, 16 Feb 2023 11:41:23 +0000 (11:41 +0000)]
Offer to enable emulation if disabled

18 months agotrivial: Fix -Wunused-variable with old GUsb versions
Richard Hughes [Wed, 15 Feb 2023 20:14:12 +0000 (20:14 +0000)]
trivial: Fix -Wunused-variable with old GUsb versions

18 months agotrivial: Ensure the progressbar gets to exactly 100% when downloading
Richard Hughes [Wed, 15 Feb 2023 16:54:44 +0000 (16:54 +0000)]
trivial: Ensure the progressbar gets to exactly 100% when downloading

18 months agotrivial: Only show the non-interactive text status if interesting
Richard Hughes [Wed, 15 Feb 2023 16:42:15 +0000 (16:42 +0000)]
trivial: Only show the non-interactive text status if interesting

18 months agotrivial: Move the uint prompt to FuConsole
Richard Hughes [Wed, 15 Feb 2023 16:37:08 +0000 (16:37 +0000)]
trivial: Move the uint prompt to FuConsole

18 months agotrivial: Fix newline when asking for confirmation
Richard Hughes [Wed, 15 Feb 2023 16:29:19 +0000 (16:29 +0000)]
trivial: Fix newline when asking for confirmation

18 months agoSplit out the console handling to a new module
Richard Hughes [Fri, 10 Feb 2023 16:18:02 +0000 (16:18 +0000)]
Split out the console handling to a new module

This simplifies a lot of confusion.

18 months agouefi-capsule: Require at least 80MB free in the ESP
Richard Hughes [Wed, 15 Feb 2023 15:27:22 +0000 (15:27 +0000)]
uefi-capsule: Require at least 80MB free in the ESP

See https://github.com/fwupd/firmware-lenovo/issues/257

18 months agoAllow installing some battery firmware updates when the power is too low
Richard Hughes [Wed, 15 Feb 2023 15:43:28 +0000 (15:43 +0000)]
Allow installing some battery firmware updates when the power is too low

The firmware in this case fixes the battery charging, and as the battery is
*internal* the user isn't able to apply the fix.

Fixes https://github.com/fwupd/firmware-lenovo/issues/315

18 months agoFix -Dbuild=library target
Richard Hughes [Wed, 15 Feb 2023 14:22:53 +0000 (14:22 +0000)]
Fix -Dbuild=library target

18 months agotrivial: Add emulation data for the HP G5 dock
Richard Hughes [Tue, 14 Feb 2023 16:02:45 +0000 (16:02 +0000)]
trivial: Add emulation data for the HP G5 dock

18 months agotrivial: Add device test data for the HP 910 keyboard and mouse
Richard Hughes [Tue, 14 Feb 2023 15:38:36 +0000 (15:38 +0000)]
trivial: Add device test data for the HP 910 keyboard and mouse

18 months agoUse a predefined message when emulating
Richard Hughes [Mon, 13 Feb 2023 23:32:21 +0000 (23:32 +0000)]
Use a predefined message when emulating

This allow us to guide the user through emulation in gnome-firmware.

18 months agotrivial: Correctly fallback from SMBIOS to FDT
Richard Hughes [Tue, 14 Feb 2023 12:11:43 +0000 (12:11 +0000)]
trivial: Correctly fallback from SMBIOS to FDT

18 months agoCorrectly fall back to the compatible vendor when FDT vendor is missing
Richard Hughes [Tue, 14 Feb 2023 09:50:25 +0000 (09:50 +0000)]
Correctly fall back to the compatible vendor when FDT vendor is missing

Fixes https://github.com/fwupd/fwupd/issues/5530

18 months agotrivial: Never add missing FDT values as a HwID
Richard Hughes [Tue, 14 Feb 2023 09:49:40 +0000 (09:49 +0000)]
trivial: Never add missing FDT values as a HwID

18 months agotrivial: Fix critical warning when using fwupdtool export-hwids
Richard Hughes [Tue, 14 Feb 2023 09:27:11 +0000 (09:27 +0000)]
trivial: Fix critical warning when using fwupdtool export-hwids

18 months agoccgx: Make the default image type for FuCcgxDmcDevice to be DMC_COMPOSITE
Richard Hughes [Mon, 13 Feb 2023 13:04:17 +0000 (13:04 +0000)]
ccgx: Make the default image type for FuCcgxDmcDevice to be DMC_COMPOSITE

This means most devices do not need to specify additional quirks.

18 months agoAllow downloading files in fwupdtool
Richard Hughes [Mon, 13 Feb 2023 20:57:54 +0000 (20:57 +0000)]
Allow downloading files in fwupdtool

The useragent was being set as 'fwupdtool/1.8.11 fwupd/(NULL)' which the LVFS
did not like. As we're using fwupdtool without a daemon proxy just set the
fwupd version manually.

Fixes https://github.com/fwupd/fwupd/issues/5519

18 months agoShow the 4XX download failure in the error output
Richard Hughes [Mon, 13 Feb 2023 20:32:32 +0000 (20:32 +0000)]
Show the 4XX download failure in the error output

18 months agotrivial: logitech-hidpp: move the check for CONFIG_HIDRAW into probe
Mario Limonciello [Mon, 13 Feb 2023 16:34:40 +0000 (10:34 -0600)]
trivial: logitech-hidpp: move the check for CONFIG_HIDRAW into probe

The kernel should have loaded hidraw support by the time that we probe
a device.  This fixes logitech devices not showing up after startup
if they weren't plugged in initially.

Fixes: #5525
18 months agoSet the device percentage and status for the duration
Richard Hughes [Mon, 13 Feb 2023 16:14:46 +0000 (16:14 +0000)]
Set the device percentage and status for the duration

Fixes part of https://github.com/fwupd/fwupd/issues/5522

18 months agotrivial: Fix the gtk-doc header to reflect reality
Richard Hughes [Mon, 13 Feb 2023 16:13:10 +0000 (16:13 +0000)]
trivial: Fix the gtk-doc header to reflect reality

18 months agoInclude python3-uswid in the container so fwupd-efi can include the uSWID section
Richard Hughes [Sat, 4 Feb 2023 20:16:01 +0000 (20:16 +0000)]
Include python3-uswid in the container so fwupd-efi can include the uSWID section

18 months agotrivial: Add a clang-tidy template
Richard Hughes [Mon, 13 Feb 2023 09:00:28 +0000 (09:00 +0000)]
trivial: Add a clang-tidy template

18 months agotrivial: Fix warning: function has a definition with different parameter names
Richard Hughes [Mon, 13 Feb 2023 08:45:17 +0000 (08:45 +0000)]
trivial: Fix warning: function has a definition with different parameter names

18 months agotrivial: Fix warning: return after continue
Richard Hughes [Sun, 12 Feb 2023 20:28:17 +0000 (20:28 +0000)]
trivial: Fix warning: return after continue

18 months agotrivial: Fix warning: parameter is const-qualified in the function declaration
Richard Hughes [Sun, 12 Feb 2023 20:22:46 +0000 (20:22 +0000)]
trivial: Fix warning: parameter is const-qualified in the function declaration

18 months agotrivial: Fix warning: declared with a const-qualified typedef
Richard Hughes [Sun, 12 Feb 2023 20:15:36 +0000 (20:15 +0000)]
trivial: Fix warning: declared with a const-qualified typedef

18 months agotrivial: Fix warning: pointer parameter 'buf' can be pointer to const
Richard Hughes [Sun, 12 Feb 2023 20:08:30 +0000 (20:08 +0000)]
trivial: Fix warning: pointer parameter 'buf' can be pointer to const

18 months agotrivial: Fix warning: repeated branch in conditional chain
Richard Hughes [Sun, 12 Feb 2023 09:44:17 +0000 (09:44 +0000)]
trivial: Fix warning: repeated branch in conditional chain

18 months agotrivial: Fix warning: do not use 'else' after 'return'
Richard Hughes [Sun, 12 Feb 2023 09:29:26 +0000 (09:29 +0000)]
trivial: Fix warning: do not use 'else' after 'return'