[v4 02/10] bus/dpaa: add FMan node

Stephen Hemminger stephen at networkplumber.org
Sun Jun 29 18:32:10 CEST 2025


On Wed, 11 Jun 2025 12:40:31 +0530
vanshika.shukla at nxp.com wrote:

> +	fd = open(FMAN_DEVICE_PATH, O_RDWR);
> +	if (unlikely(fd < 0)) {
> +		DPAA_BUS_LOG(ERR, "Unable to open (%s)", FMAN_DEVICE_PATH);
> +		return fd;
>  	}

Would helpful to user if you added the errno reason.

	DPAA_BUS_LOG(ERR, "Unable to open %s: %s", FMAN_DEVICE_PATH, strerror(errno));



More information about the dev mailing list