lib/mpi: Add mpi sgl helpers
authorTadeusz Struk <tadeusz.struk@intel.com>
Thu, 8 Oct 2015 16:26:50 +0000 (09:26 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Oct 2015 14:23:00 +0000 (22:23 +0800)
commit2d4d1eea540b27c72488fd1914674c42473d53df
tree104068ce8d5e084fcb2ed7eb0fd626c15b4311f0
parent9ad92bdff7062d9925754607f5a92b4f651fc7d3
lib/mpi: Add mpi sgl helpers

Add mpi_read_raw_from_sgl and mpi_write_to_sgl helpers.

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