On 09.02.2022 14:47, Oleksandr Andrushchenko wrote: > Hi, Oleksii! > > On 08.02.22 20:00, Oleksii Moisieiev wrote: >> libxenhypfs will return blob properties as is. This output can be used >> to retrieve information from the hypfs. Caller is responsible for >> parsing property value. >> >> Signed-off-by: Oleksii Moisieiev <oleksii_moisie...@epam.com> >> --- >> tools/libs/hypfs/core.c | 2 -- >> 1 file changed, 2 deletions(-) >> >> diff --git a/tools/libs/hypfs/core.c b/tools/libs/hypfs/core.c >> index 52b30db8d7..d09bba7d8c 100644 >> --- a/tools/libs/hypfs/core.c >> +++ b/tools/libs/hypfs/core.c >> @@ -307,8 +307,6 @@ char *xenhypfs_read(xenhypfs_handle *fshdl, const char >> *path) >> errno = EISDIR; >> break; >> case xenhypfs_type_blob: >> - errno = EDOM; >> - break; > This will need a /* fallthrough */ I guess
Why? There's no statement left before the next case label. Jan >> case xenhypfs_type_string: >> ret_buf = buf; >> buf = NULL;