mbox series

[PATCH-for-9.1,v2,0/4] hw/ssi/pnv_spi: Fixes Coverity CID 1558831

Message ID 20240807202804.56038-1-philmd@linaro.org
Headers show
Series hw/ssi/pnv_spi: Fixes Coverity CID 1558831 | expand

Message

Philippe Mathieu-Daudé Aug. 7, 2024, 8:28 p.m. UTC
v2:
- Cover PowerNV SSI in MAINTAINERS
- Use GLib API in pnv_spi_xfer_buffer_free()
- Simplify returning early

Supersedes: <20240806134829.351703-3-chalapathi.v@linux.ibm.com>

Chalapathi V (1):
  hw/ssi/pnv_spi: Fixes Coverity CID 1558831

Philippe Mathieu-Daudé (3):
  MAINTAINERS: Cover PowerPC SPI model in PowerNV section
  hw/ssi/pnv_spi: Match _xfer_buffer_free() with _xfer_buffer_new()
  hw/ssi/pnv_spi: Return early in transfer()

 MAINTAINERS      |  2 ++
 hw/ssi/pnv_spi.c | 12 +++++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

Comments

Cédric Le Goater Sept. 12, 2024, 4:55 p.m. UTC | #1
Chalapthi,

On 8/7/24 22:28, Philippe Mathieu-Daudé wrote:
> v2:
> - Cover PowerNV SSI in MAINTAINERS
> - Use GLib API in pnv_spi_xfer_buffer_free()
> - Simplify returning early
> 
> Supersedes: <20240806134829.351703-3-chalapathi.v@linux.ibm.com>

I was wondering where we were on this series. I see there were comments
on the initial one that would need some response at least. Do you have
plans for a respin ?

Thanks,

C.


> Chalapathi V (1):
>    hw/ssi/pnv_spi: Fixes Coverity CID 1558831
> 
> Philippe Mathieu-Daudé (3):
>    MAINTAINERS: Cover PowerPC SPI model in PowerNV section
>    hw/ssi/pnv_spi: Match _xfer_buffer_free() with _xfer_buffer_new()
>    hw/ssi/pnv_spi: Return early in transfer()
> 
>   MAINTAINERS      |  2 ++
>   hw/ssi/pnv_spi.c | 12 +++++++-----
>   2 files changed, 9 insertions(+), 5 deletions(-)
>
Chalapathi V Sept. 13, 2024, 1:24 p.m. UTC | #2
On 12-09-2024 22:25, Cédric Le Goater wrote:
> Chalapthi,
>
> On 8/7/24 22:28, Philippe Mathieu-Daudé wrote:
>> v2:
>> - Cover PowerNV SSI in MAINTAINERS
>> - Use GLib API in pnv_spi_xfer_buffer_free()
>> - Simplify returning early
>>
>> Supersedes: <20240806134829.351703-3-chalapathi.v@linux.ibm.com>
>
> I was wondering where we were on this series. I see there were comments
> on the initial one that would need some response at least. Do you have
> plans for a respin ?
>
> Thanks,
>
> C.
>
Hello Cedric,

Thank You so much for reminding me. I apologize for not getting back on 
this sooner. I am working on the review comments from initial v1 
patchset and send the v2 patchset ASAP.

Thank You,

Chalapathi
>
>> Chalapathi V (1):
>>    hw/ssi/pnv_spi: Fixes Coverity CID 1558831
>>
>> Philippe Mathieu-Daudé (3):
>>    MAINTAINERS: Cover PowerPC SPI model in PowerNV section
>>    hw/ssi/pnv_spi: Match _xfer_buffer_free() with _xfer_buffer_new()
>>    hw/ssi/pnv_spi: Return early in transfer()
>>
>>   MAINTAINERS      |  2 ++
>>   hw/ssi/pnv_spi.c | 12 +++++++-----
>>   2 files changed, 9 insertions(+), 5 deletions(-)
>>
>
>
Cédric Le Goater Sept. 13, 2024, 1:37 p.m. UTC | #3
Hello,

On 9/13/24 15:24, Chalapathi V wrote:
> 
> On 12-09-2024 22:25, Cédric Le Goater wrote:
>> Chalapthi,
>>
>> On 8/7/24 22:28, Philippe Mathieu-Daudé wrote:
>>> v2:
>>> - Cover PowerNV SSI in MAINTAINERS
>>> - Use GLib API in pnv_spi_xfer_buffer_free()
>>> - Simplify returning early
>>>
>>> Supersedes: <20240806134829.351703-3-chalapathi.v@linux.ibm.com>
>>
>> I was wondering where we were on this series. I see there were comments
>> on the initial one that would need some response at least. Do you have
>> plans for a respin ?
>>
>> Thanks,
>>
>> C.
>>
> Hello Cedric,
> 
> Thank You so much for reminding me. I apologize for not getting back on this sooner. 

That's fine. We have some spare time before the QEMU 9.2 cycle
closes. I'd say ~2 months. Still, it would be good to address
these issues before adding more models (Dan's TPM device model)
relying on it.

> I am working on the review comments from initial v1 patchset and send the v2 patchset ASAP.

That would be a v3 ? Since Philippe sent a v2.

Thanks,

C.
Chalapathi V Sept. 16, 2024, 10:04 a.m. UTC | #4
On 13-09-2024 19:07, Cédric Le Goater wrote:
> Hello,
>
> On 9/13/24 15:24, Chalapathi V wrote:
>>
>> On 12-09-2024 22:25, Cédric Le Goater wrote:
>>> Chalapthi,
>>>
>>> On 8/7/24 22:28, Philippe Mathieu-Daudé wrote:
>>>> v2:
>>>> - Cover PowerNV SSI in MAINTAINERS
>>>> - Use GLib API in pnv_spi_xfer_buffer_free()
>>>> - Simplify returning early
>>>>
>>>> Supersedes: <20240806134829.351703-3-chalapathi.v@linux.ibm.com>
>>>
>>> I was wondering where we were on this series. I see there were comments
>>> on the initial one that would need some response at least. Do you have
>>> plans for a respin ?
>>>
>>> Thanks,
>>>
>>> C.
>>>
>> Hello Cedric,
>>
>> Thank You so much for reminding me. I apologize for not getting back 
>> on this sooner. 
>
> That's fine. We have some spare time before the QEMU 9.2 cycle
> closes. I'd say ~2 months. Still, it would be good to address
> these issues before adding more models (Dan's TPM device model)
> relying on it.
Sure. Thank You.
>
>> I am working on the review comments from initial v1 patchset and send 
>> the v2 patchset ASAP.
>
> That would be a v3 ? Since Philippe sent a v2.
>
> Thanks,
>
> C.
Sure. Will send v3 for the series: hw/ssi/pnv_spi: Fixes Coverity CID 
1558831 and

a separate series for resolving Coverity CID 1558827.

Thank You,

Chalapathi