Re: [PATCH 1/1] mdadm: Fix building errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/22/21 11:15 AM, Xiao Ni wrote:
> In util.c, there is a building error:
> '/md/metadata_version' directive writing 20 bytes into a
> region of size between 0 and 255 [-Werror=format-overflow=]
> 
> In mapfile.c
> It declares the fouth argument as 'int *' in map_update,
> but in mdadm.h it's previously declared as an array 'int[4]'
> 
> Signed-off-by: Xiao Ni <xni@xxxxxxxxxx>
> ---
>  mapfile.c | 2 +-
>  util.c    | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied!

Thanks,
Jes




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux