]> Git Repo - linux.git/commit
dma-mapping: disallow .map_sg operations from returning zero on error
authorLogan Gunthorpe <[email protected]>
Mon, 9 Aug 2021 15:13:31 +0000 (17:13 +0200)
committerChristoph Hellwig <[email protected]>
Mon, 9 Aug 2021 15:15:02 +0000 (17:15 +0200)
commitd03c54419274f96434e2ad74e59e67ec6d54ca86
tree01226f9a07092a6c4d83ecf6e6adf594c595bafa
parent66ab63104f9cab09209851fef168f5972d791903
dma-mapping: disallow .map_sg operations from returning zero on error

Now that all the .map_sg operations have been converted to returning
proper error codes, drop the code to handle a zero return value,
add a warning if a zero is returned.

Signed-off-by: Logan Gunthorpe <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
kernel/dma/mapping.c
This page took 0.197993 seconds and 4 git commands to generate.