Re: [PATCH v3 20/22] block: fix -Werror=maybe-uninitialized false-positive

2024-10-02 Thread Kevin Wolf
Am 30.09.2024 um 10:14 hat marcandre.lur...@redhat.com geschrieben: > From: Marc-André Lureau > > ../block/file-posix.c:1405:17: error: ‘zoned’ may be used uninitialized > [-Werror=maybe-uninitialized] > 1405 | if (ret < 0 || zoned == BLK_Z_NONE) { > > Signed-off-by: Marc-André Lureau Re

Re: [PATCH v3 20/22] block: fix -Werror=maybe-uninitialized false-positive

2024-10-01 Thread Vladimir Sementsov-Ogievskiy
On 30.09.24 11:14, marcandre.lur...@redhat.com wrote: From: Marc-André Lureau ../block/file-posix.c:1405:17: error: ‘zoned’ may be used uninitialized [-Werror=maybe-uninitialized] 1405 | if (ret < 0 || zoned == BLK_Z_NONE) { Signed-off-by: Marc-André Lureau Reviewed-by: Vladimir Sement

[PATCH v3 20/22] block: fix -Werror=maybe-uninitialized false-positive

2024-09-30 Thread marcandre . lureau
From: Marc-André Lureau ../block/file-posix.c:1405:17: error: ‘zoned’ may be used uninitialized [-Werror=maybe-uninitialized] 1405 | if (ret < 0 || zoned == BLK_Z_NONE) { Signed-off-by: Marc-André Lureau --- block/file-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -