c
    if (cdev == NULL) {
        return; // or handle the error appropriately
    }
    