Hello Heinrich, On 11/10/2017 09:46 PM, Heinrich Schuchardt wrote:
0 is not a pointer. So do not compare pointers to 0.Do not return 0 from functions with a pointer return type. Problem identified with Coccinelle.
Perhaps you can elaborate on what problem you are solving? As far as I know it is only a style issue... Regards, Jeroen _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot