qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 6/7] hw/isa: Assert isa_register_portio_list() gets non-NULL


From: Richard Henderson
Subject: Re: [PATCH 6/7] hw/isa: Assert isa_register_portio_list() gets non-NULL ISA device
Date: Tue, 14 Feb 2023 08:49:40 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

On 2/14/23 00:18, Philippe Mathieu-Daudé wrote:
  __attribute__((nonnull)) void a1(void *ptr)
  {
    // can no use assert(ptr) because compiler warning
  }

I briefly glossed over that...

I realize we'd probably want to add -fno-delete-null-pointer-checks if we make too much

... here.  The compiler warning should go away with the right flag.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]