On a Wednesday in 2024, Marc Hartmayer wrote:
I'm not familiar with the code so I cannot decide if ignoring the return values
is a bug or not. At least, it looks awkward and should be annotated.


Adding error reporting after years of real-world usage can be tricky (as
evidenced by the VPD error reporting reverts by Peter).

I think virNodeDeviceGetSCSITargetCaps erroring out if 
(!virFCIsCapableRport(rport))
is incorrect - there were non-FC SCSI targets long before the FC code
was added.

Jano

Signed-off-by: Marc Hartmayer <mhart...@linux.ibm.com>
---
src/conf/node_device_conf.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-le...@lists.libvirt.org

Reply via email to