[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111130.170457.1002117290486935116.davem@davemloft.net>
Date: Wed, 30 Nov 2011 17:04:57 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sjur.brandeland@...ricsson.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 3/3] caif: Remove unused enum and parameter in
cfserl
From: Sjur Brændeland <sjur.brandeland@...ricsson.com>
Date: Wed, 30 Nov 2011 20:22:48 +0100
> link_support = cfserl_create(dev->ifindex,
> - CFPHYTYPE_FRAG, caifdev->use_stx);
> + caifdev->use_stx);
> if (!link_support) {
> pr_warn("Out of memory\n");
> break;
...
> -struct cflayer *cfserl_create(int type, int instance, bool use_stx)
> +struct cflayer *cfserl_create(int instance, bool use_stx)
> {
Looks like this code was always buggy, passing the index in the type parameter
and the type in the instance parameter.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists