# Re: \[PATCH 02/18\] block/aoenet: change strncpy+truncation to strlcpy

- From: Jens Axboe \<axboe@kernel.dk\>
- Date: 2018-07-13 14:16:23 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2018/07/5332071
- Thread: https://ratatoskr.run/linux-block/2018/07/5331637/t.md

```text
On 7/12/18 7:25 PM, Dominique Martinet wrote:
> Generated by scripts/coccinelle/misc/strncpy_truncation.cocci
> 
> Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
> ---
> 
> Please see https://marc.info/?l=linux-kernel&m=153144450722324&w=2 (the
> first patch of the serie) for the motivation behind this patch

This is a weird combination in terms of a single patch, why is
it patching aoe and gpiolib in one patch?

-- 
Jens Axboe
```
