On 08/04/17 00:11, Christophe Lombard wrote:
+static u32 get_phb_index(struct device_node *np)
 {
        u32 phb_index;

        if (of_property_read_u32(np, "ibm,phb-index", &phb_index))
-               return 0;
+               return -ENODEV;

Function is unsigned.

--
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnel...@au1.ibm.com  IBM Australia Limited

Reply via email to