Re: [PATCH v15 06/19] leds: lp50xx: Add the LP50XX family of the RGB LED driver

From: Dan Murphy
Date: Wed Oct 30 2019 - 16:24:08 EST


Jacek


Does not appear here

Finally not sure why the MIPS compiler is complaining about this but the
ARM and x86 is not
Compilation breaks also for ARM.

Thanks for the information.

I am not seeing this issue or even a warning when using the ARM 8.3 toolchain even in a clean build.

arm-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0

So is a bug in this toolchain?

This is not architecture specific but language specific thing.

If you enter this error message got Google you will get an answer
to why this happens in the first result.

I did Google the issue and got the answer I guess I just question to why I am not seeing the error because for me the patchset builds fine no errors.

And why is this only reported on the MIPS arch.  Not saying that it is not an issue in the code just wondering how it gets there.


You need to patch your driver with the attached one.

I will try to reproduce the error and then apply the changes.

Dan