Re: [PATCH V4 11/14] mpathpersist: check whether malloc paramp->trnptid_list fails in handle_args func

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

 



Hi Lixiaokeng,

On Fri, 2020-09-11 at 09:34 +0800, lixiaokeng wrote:
> 
> Hi Martin,
>   When I compile it, I add a patch thats changes int to unsigned int.
> But I don't think it is an error. It is  just a warning and becomes
> an
> error with [-Werror]. Anyway,

What do you think, why did we add -Werror?

Disabling the warning options when working on the code is strongly
discouraged.

> > I will change int to unsigned it and send
> it again. Thanks.

Thank you.

Martin


--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux