Re: [PATCH v2] staging: comedi: resolve section mismatch in s626

From: Gerard Snitselaar
Date: Mon Mar 19 2012 - 12:43:28 EST


On Mon, Mar 19, 2012 at 09:31:03AM -0700, Greg KH wrote:
>
> Ick, why is this loop even needed? We are only here if the pci device
> is present in the system so this shouldn't be needed at all, right?
>
> Or is this a bit more complex than I am making it out to be?
>
> greg k-h

Most likely not. I will take a look at some of the other drivers in
comedi and see how the attach code looks there. I believe the code
section in hpdi_attach() was written by the same person. Unfortunately
I don't have a device to actually play around and see what changes are
doing.

--
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/