Re: [PATCH v1 06/12] sparc64: add MDESC node name property to VIO device metadata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux