[PATCH 01/13] staging: comedi: adv_pci1724: new driver

Dan Carpenter dan.carpenter at oracle.com
Tue Feb 19 13:27:45 UTC 2013


On Tue, Feb 19, 2013 at 01:09:08PM +0000, Ian Abbott wrote:
> +static int setup_subdevices(struct comedi_device *dev)
> +{
> +	struct comedi_subdevice *s;
> +	int ret;
> +
> +	ret = comedi_alloc_subdevices(dev, 3);
> +		return ret;
> +

There is a missing if statement here.  (Just send a follow on patch
to fix this).

regards,
dan carpenter




More information about the devel mailing list