Dnia 18-08-2006 o godz. 3:10 David Miller napisał(a): > If you return "0" as the error, the caller in the device probing layer > grabs a reference to the device which will be a leak of the undelying > of_device object. > > A better way to fix this is probably to only match "le" and have > the probe code check the device parent for "ledma" or "lebuffer". > You should be able to confine all of your changes to the probe > match table and sunlance_sbus_probe(). > > Could you implement it like that and give it a test? > > Thanks. > This is a tested patch according to your sugestions (as far as I understood them). Regards, Krzysztof PS. Forget the previous patch. It is incorrect if "le" is standalone. ---------------------------------------------------- Najnowsze odkrycie światowej muzyki- smacznej i snobistycznej. Wschodząca gwiazda, wybitnie utalentowana Sophie Solomon wraz z zespołem w Warszawie!! http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fsophie_solomon_w_fabryce_trzciny.html&sid=846