Re: [bug report] of: base: Introduce of_alias_get_alias_list() to check alias IDs

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

 





On 3/21/22 17:33, Rob Herring wrote:
On Tue, Mar 15, 2022 at 10:09 AM Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:

Hello Michal Simek,

The patch b1078c355d76: "of: base: Introduce
of_alias_get_alias_list() to check alias IDs" from Sep 20, 2018,
leads to the following Smatch static checker warning:

         drivers/of/base.c:2038 of_alias_get_alias_list()
         warn: passing negative bit value 's32min-(-2),0-s32max' to 'set_bit()'

The 1 user of of_alias_get_alias_list() has since been refactored and
doesn't use of_alias_get_alias_list() anymore. So I'm just going to
revert b1078c355d76.

yes. I am fine with it. We can get it back and fix it when it is again needed.

Thanks,
Michal



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux