[libvirt] [PATCH] audit: Fix some comments

Wang Rui moon.wangrui at huawei.com
Fri Aug 8 02:29:01 UTC 2014


On 2014/8/7 17:07, Ján Tomko wrote:
> On 08/07/2014 10:12 AM, Wang Rui wrote:
>> Fix a comment in virDomainAuditNetDevice.
>> Fix a typo in comment of qemuPhysIfaceConnect which is
>> the caller of virDomainAuditNetDevice.
>>
>> Signed-off-by: Wang Rui <moon.wangrui at huawei.com>
>> ---
>>  src/conf/domain_audit.c | 4 ++--
>>  src/qemu/qemu_command.c | 2 +-
>>  2 files changed, 3 insertions(+), 3 deletions(-)
>>
> 
> ACK and pushed.

Thanks.
I have a question about comment style.
I see there are two comment styles in our libvirt code.

One is
/*  XXXX
 *  XXXX
 */

The other is
/* XXXX
 * XXXX */

Are both of them fine ?
Or which one is recommended ?
(I'm not sure about my comments when coding.)






More information about the libvir-list mailing list