Re: [Devel] [PATCH RH9] ploop: simplify ploop_status

2021-10-22 Thread Kirill Tkhai
On 21.10.2021 21:32, Cyrill Gorcunov wrote: > From: Cyrill Gorcunov > > We can get rid of sprintf usage when encoding the status. > Just fill the string directly. > > Cc: Kirill Tkhai > Signed-off-by: Cyrill Gorcunov Acked-by: Kirill TKhai > --- > drivers/md/dm-ploop-target.c | 13

[Devel] [PATCH RH9] ploop: simplify ploop_status

2021-10-21 Thread Cyrill Gorcunov
From: Cyrill Gorcunov We can get rid of sprintf usage when encoding the status. Just fill the string directly. Cc: Kirill Tkhai Signed-off-by: Cyrill Gorcunov --- drivers/md/dm-ploop-target.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) ---