qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Realview/Versatile: Export LED state


From: Wolfgang Mauerer
Subject: Re: [Qemu-devel] [PATCH] Realview/Versatile: Export LED state
Date: Fri, 11 Jan 2013 16:46:05 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Hello,

On 11/01/13 15:58, Andreas Färber wrote:
>> @@ -386,6 +406,10 @@ static int arm_sysctl_init(SysBusDevice *dev)
>> >  {
>> >      arm_sysctl_state *s = FROM_SYSBUS(arm_sysctl_state, dev);
>> >  
>> > +    s->display = qemu_chr_new("leds0", "chardev:leds", NULL);
>> > +    if (s->display) {
> Can this ever be NULL?

if can be NULL if no leds chardev is available.

Best, Wolfgang



reply via email to

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