On Wed, 11 Jun 2025 12:40:31 +0530
vanshika.shu...@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));

Reply via email to