# Re: \[PATCH 2/2\] mdadm: Forced type conversion to avoid truncation

- From: jes.sorensen@gmail.com
- Date: 2017-03-28 17:57:15 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2017/03/6635011
- Thread: https://ratatoskr.run/linux-raid/2017/03/6635011/t.md

```text
Xiao Ni [ref] writes:
> Gcc reports it needs 19 bytes to right to disk->serial. Because the type of argument i
> is int. But the meaning of i is failed disk number. So it doesn't need to use 19 bytes.
> Just add a type conversion to avoid this building error
>
> Signed-off-by: Xiao Ni <redacted>
> ---
>  super-intel.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied!

I reformatted the commit message to keep it within 80 characters/line,
but no change of content.

Cheers,
Jes
```
