[libvirt] [PATCH v3 5/5] cfg.mk: Introduce syntax-check rule to prefer VIR_CLASS_NEW

Michal Privoznik mprivozn at redhat.com
Wed Apr 18 08:07:19 UTC 2018


On 04/17/2018 06:46 PM, Daniel P. Berrangé wrote:
> On Tue, Apr 17, 2018 at 06:01:06PM +0200, Michal Privoznik wrote:
>> Now that we have macro that does some checks lets forbid raw
>> usage of virClassNew() in favor of VIR_CLASS_NEW().
>>
>> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>> Reviewed-by: Erik Skultety <eskultet at redhat.com>
>> ---
>>  cfg.mk | 8 ++++++++
>>  1 file changed, 8 insertions(+)
> 
> Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
> 

These are pushed now. Thanks!

Michal




More information about the libvir-list mailing list