qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] audio: Add sndio backend


From: Brad Smith
Subject: Re: [PATCH] audio: Add sndio backend
Date: Thu, 5 Mar 2020 12:07:33 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Thunderbird/74.0

On 3/5/2020 3:50 AM, Gerd Hoffmann wrote:

On Wed, Mar 04, 2020 at 07:04:07AM -0800, address@hidden wrote:
Patchew URL: https://patchew.org/QEMU/address@hidden/



Hi,

This series seems to have some coding style problems. See output below for
more information:

Subject: [PATCH] audio: Add sndio backend
Message-id: address@hidden
Type: series

=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===

 From https://github.com/patchew-project/qemu
  * [new tag]         patchew/address@hidden -> patchew/address@hidden
Switched to a new branch 'test'
421ab62 audio: Add sndio backend

=== OUTPUT BEGIN ===
ERROR: space prohibited before that close parenthesis ')'
#41: FILE: audio/audio.c:1977:
+        CASE(SNDIO, sndio, );
False positive I'd say.

WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
Adding an entry to the MAINTAINERS file is a good idea though.


Ok. Will do.

ERROR: g_free(NULL) is safe this check is probably not required
#381: FILE: audio/sndioaudio.c:318:
+    if (self->pfds) {
+        g_free(self->pfds);
Reasonable too.


Not clear to me. Leave as is or needs a change?




reply via email to

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