Re: [PATCH] cpu: Properly check input parameters

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

 



On Fri, Apr 04, 2014 at 16:03:44 +0200, Peter Krempa wrote:
> On 03/26/14 16:14, Jiri Denemark wrote:
> > Most of the APIs in CPU driver do not expect to get NULL for input
> > parameters. Let's mark them with ATTRIBUTE_NONNULL and also check for
> > some members of virCPUDef when the APIs expect them have some specific
> > values.
> > 
> > Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> > ---
> >  src/cpu/cpu.c | 48 +++++++++++++++++++++++++++++++++++++-----------
> >  src/cpu/cpu.h | 36 ++++++++++++++++++++++++------------
> >  2 files changed, 61 insertions(+), 23 deletions(-)
> > 
> 
> ACK,

Thanks and finally pushed.

Jirka

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]