misc: mic: Minor bug fix in 'retry' loops.
authorSudeep Dutt <sudeep.dutt@intel.com>
Wed, 27 Nov 2013 16:58:39 +0000 (08:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Nov 2013 19:03:38 +0000 (11:03 -0800)
commit9420b3485aa5748e171f2cedf35cc8f5a6a01c4b
tree99371e7757ffe8255882686f5f8b848f6ebba370
parentbd6dc8f65481267383aa026b30f3379d224f4a7d
misc: mic: Minor bug fix in 'retry' loops.

The bug would result in incorrect 'retry' value being printed in debug
statements as well as dead code in mic_find_vqs(...) in
drivers/misc/mic/card/mic_virtio.c.

Reported-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mic/card/mic_virtio.c
drivers/misc/mic/host/mic_virtio.c