Re: [PATCH] esx: Refactor esxVI_LookupHostScsiTopologyLunListByTargetName

2025-03-11 Thread Peter Krempa
On Tue, Mar 11, 2025 at 11:48:41 +0100, Jiri Denemark wrote: > With a specific combination of compiler options gcc reported the > following bogus warning (I added a context to it to make the issue > visible): > > ../src/esx/esx_vi.c: In function > ‘esxVI_LookupHostScsiTopologyLunListByTargetName’

[PATCH] esx: Refactor esxVI_LookupHostScsiTopologyLunListByTargetName

2025-03-11 Thread Jiri Denemark
With a specific combination of compiler options gcc reported the following bogus warning (I added a context to it to make the issue visible): ../src/esx/esx_vi.c: In function ‘esxVI_LookupHostScsiTopologyLunListByTargetName’: ../src/esx/esx_vi.c:4674:32: error: potential null pointer dereference