On 11/25/22 16:35, Emanuele Giuseppe Esposito wrote:
We know that the string will stay around until the function returns, and the parameter of drv->bdrv_co_create_opts is const char*, so it must not be modified either.Suggested-by: Kevin Wolf<kw...@redhat.com> Signed-off-by: Emanuele Giuseppe Esposito<eespo...@redhat.com> Reviewed-by: Kevin Wolf<kw...@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsement...@yandex-team.ru> -- Best regards, Vladimir