From: Jag Raman <jag.raman@xxxxxxxxxx> Date: Fri, 9 Jun 2017 12:30:55 -0400 > static struct vio_dev *vio_create_one(struct mdesc_handle *hp, u64 mp, > - struct device *parent) > + char *node_name, struct device *parent) Make this "const char *node_name", and then: > - (void) vio_create_one(hp, node, &root_vdev->dev); > + (void) vio_create_one(hp, node, (char *)node_name, &root_vdev->dev); ... > - (void) vio_create_one(hp, node, &root_vdev->dev); > + (void) vio_create_one(hp, node, (char *)node_name, > + &root_vdev->dev); You won't need these casts. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html