drivers//block/rbd.c:2124:21: warning: 'current_state' may be used uninitialized in this function

2019-10-12 Thread kbuild test robot
> drivers//block/rbd.c:2124:21: warning: 'current_state' may be used >> uninitialized in this function [-Wmaybe-uninitialized] (current_state == OBJECT_EXISTS && state == OBJECT_EXISTS_CLEAN)) drivers//block/rbd.c:2092:23: note: 'current_state'

drivers/block/rbd.c:2124:21: warning: 'current_state' may be used uninitialized in this function

2019-08-30 Thread kbuild test robot
: it may well be a FALSE warning. FWIW you are at least aware of it now. http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings All warnings (new ones prefixed by >>): drivers/block/rbd.c: In function 'rbd_object_map_callback': >> drivers/block/rbd.c:2124:21: warning: 'current_state'