Re: [PATCH v2 03/13] Provider Methods and Data Structures

From: Arjan van de Ven
Date: Sun Dec 03 2006 - 07:07:48 EST


On Sat, 2006-12-02 at 16:49 -0600, Steve Wise wrote:

> +
> +static struct ib_ah *iwch_ah_create(struct ib_pd *pd,
> + struct ib_ah_attr *ah_attr)
> +{
> + return ERR_PTR(-ENOSYS);
> +}


-ENOSYS is just about ALWAYS a bug in that it's guaranteed to be the
wrong error code ;)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/