[Skiboot] [PATCH v2 4/5] hwmon: (ibmpowernv) change create_hwmon_attr_name() prototype
Cedric Le Goater
clg at fr.ibm.com
Fri Mar 20 19:06:38 AEDT 2015
[ ... ]
> @@ -265,10 +261,17 @@ static int create_device_attrs(struct pl
>
> sdata[count].id = sensor_id;
> sdata[count].type = type;
> - err = create_hwmon_attr_name(&pdev->dev, type, np->name,
> - sdata[count].name);
> - if (err)
> +
> + attr_name = parse_opal_node_name(np->name, type, &opal_index);
> + if (IS_ERR(attr_name)) {
> + dev_err(&pdev->dev, "Sensor device node name '%s' is invalid\n",
> + np->name);
> + err = IS_ERR(attr_name);
^^^^^^
Arg. Bad copy/paste. This should be PTR_ERR() ...
Do you want a full patchset resend or just a resend of this patch ? or a fix maybe.
Sorry for the noise ...
C.
More information about the Skiboot
mailing list