Re: [kvm-unit-tests PATCH v1 4/8] lib/alloc.c: add overflow check for calloc

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

 



On 23/06/20 07:57, Thomas Huth wrote:
> cc1: all warnings being treated as errors
> 
> Claudio, any ideas how to fix that?

I guess it's just

diff --git a/lib/alloc.c b/lib/alloc.c
index f4aa87a..6c89f98 100644
--- a/lib/alloc.c
+++ b/lib/alloc.c
@@ -1,5 +1,6 @@
 #include "alloc.h"
 #include "asm/page.h"
+#include "bitops.h"

 void *malloc(size_t size)
 {

> Paolo, could you maybe push your staging branches to Githab or Gitlab
> first, to see whether there are any regressions in Travis or Gitlab-CI
> before you push the branch to the main repo? ... almost all of the
> recent updates broke something, and analyzing the problems afterwards is
> a little bit cumbersome...

Ok, I'll catch you on IRC to discuss this.

Paolo




[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