MPI: Fix mpi_read_buffer
authorTadeusz Struk <tadeusz.struk@intel.com>
Mon, 24 Aug 2015 14:52:14 +0000 (07:52 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 25 Aug 2015 13:13:16 +0000 (21:13 +0800)
commit0f74fbf77d457c692e108c91475bb7a46aa6d60c
treed3a9ce6b26991ebf6b1b1f4243d5d8bf14708348
parent55e8dba1acc2e3e9d77226c3b08b25a02a0e3a3a
MPI: Fix mpi_read_buffer

Change mpi_read_buffer to return a number without leading zeros
so that mpi_read_buffer and mpi_get_buffer return the same thing.

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
lib/mpi/mpicoder.c