summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2016-04-25 15:14:00 +0530
committerMark Brown <broonie@kernel.org>2016-04-25 18:55:57 +0100
commit0569a88f3d1ffed94b15569d53872f16e2351099 (patch)
tree5e7497a4ef4d1a75c6feced072337ca824e1db8c /tools/lib
parentd7e2ee257038baeb03baef602500368a51ee9eef (diff)
downloadlinux-0569a88f3d1ffed94b15569d53872f16e2351099.tar.bz2
spi: return error if kmap'd buffers passed to spi_map_buf()
Current spi_map_buf() implementation supports creates sg_table for vmalloc'd and kmalloc'd buffers. Therefore return error if kmap'd buffer (or any other buffer) is passed to spi_map_buf(). Signed-off-by: Vignesh R <vigneshr@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions