# Re: \[PATCH v2 21/21\] dma-mapping: Disallow .map\_sg operations from returning zero on error

- From: Rolf Eike Beer \<hidden\>
- Date: 2021-07-24 06:24:20 
- List: linux-alpha
- Page: https://ratatoskr.run/linux-alpha/2021/07/1456461
- Thread: https://ratatoskr.run/linux-alpha/2021/07/1456208/t.md

```text
Am Freitag, 23. Juli 2021, 19:50:08 CEST schrieb Logan Gunthorpe:
> 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 and update the comment for the
> map_sg operation.

I see no comment being touched here.

Eike
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-alpha/2021/07/1456461/attachment/0) (application/pgp-signature, 195 bytes)
