Re: [Qemu-devel] [PATCH] block: Constify data passed by pointer to blk_name

2017-03-07 Thread Kevin Wolf
Am 05.03.2017 um 22:44 hat Krzysztof Kozlowski geschrieben: > blk_name() is not modifying data passed to it through pointer and it > returns also a pointer to const so the argument can be made const for > code safeness. > > Signed-off-by: Krzysztof Kozlowski Thanks, applied to block-next for qem

Re: [Qemu-devel] [PATCH] block: Constify data passed by pointer to blk_name

2017-03-05 Thread Philippe Mathieu-Daudé
On 03/05/2017 06:44 PM, Krzysztof Kozlowski wrote: blk_name() is not modifying data passed to it through pointer and it returns also a pointer to const so the argument can be made const for code safeness. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Philippe Mathieu-Daudé --- block/blo

[Qemu-devel] [PATCH] block: Constify data passed by pointer to blk_name

2017-03-05 Thread Krzysztof Kozlowski
blk_name() is not modifying data passed to it through pointer and it returns also a pointer to const so the argument can be made const for code safeness. Signed-off-by: Krzysztof Kozlowski --- block/block-backend.c | 2 +- include/sysemu/block-backend.h | 2 +- 2 files changed, 2 insert