[PATCH V4 7/7] cxl: Add psl9 specific code

Andrew Donnellan andrew.donnellan at au1.ibm.com
Wed Apr 12 17:52:06 AEST 2017


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.donnellan at au1.ibm.com  IBM Australia Limited



More information about the Linuxppc-dev mailing list