Fix a bug in function pipe_rx 43/14243/3
authorLijian Zhang <Lijian.Zhang@arm.com>
Mon, 13 Aug 2018 08:34:21 +0000 (16:34 +0800)
committerDamjan Marion <dmarion@me.com>
Fri, 17 Aug 2018 19:41:12 +0000 (19:41 +0000)
commitee4efa7c39c914eb908e7fd629b18585cfa70b4a
treefec97504abfc609329ea4035b2795bab8e4a4cb4
parenta5db42f366798034e464442c92a90529fc947f08
Fix a bug in function pipe_rx

GCC 7 found this issue with a compiling warning,
and this bug has been confirmed by module owner.

Change-Id: If29e857b3a87f91f08674aee6993b075fcff87e7
Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com>
src/vnet/devices/pipe/pipe.c