Re: [PATCH kvmtool 0/2] Fix builds with clang

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 25 May 2023 15:48:25 +0100, Andre Przywara wrote:
> When trying to build kvmtool with clang, it warned about two problems,
> which are fatal since we use "-Werror".
> 
> Patch 1/2 is an easy one fixing an obvious bug (not sure why GCC didn't
> warn). Patch 2/2 removes an ugly hack which clang didn't want to let
> pass. This patch admittedly implements the most tedious solution to this
> problem, but I didn't want to just throw in a "__maybe_unused" (or
> "__used", as kvmtool puts it). If that solution is a bit over the top,
> let me know, maybe there is better solution which doesn't require to
> touch every user of the virtio endianess conversion functions - or
> __maybe_unused is OK after all.
> 
> [...]

Applied to kvmtool (master), thanks!

[1/2] option parsing: fix type of empty .argh parameter
      https://git.kernel.org/will/kvmtool/c/c1eecc61558d
[2/2] virtio: sanitise virtio endian wrappers
      https://git.kernel.org/will/kvmtool/c/b17552ee6c97

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux