Messages in this thread | | | Date | Mon, 16 Oct 2000 01:43:13 +0200 | From | FORT David <> | Subject | [2.4.0test10-pre3]drm_proc_init incorrect when multiple device are registering |
| |
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> Hi, <br>I've just got a look at file drivers/char/drm/proc.c, correct me if i'm wrong but <br>when registering using "drm_proc_init" each device supporting drm duplicates the dri dir entry, as "create_proc_entry " blindly create a new dri entry even if one already exists. <p>IIRC a few month ago the same kind of error was occuring in /proc/irq, perhaps we should check in <br>create_proc_entry that an entry exists before creating it, this could prevent each driver from doing this <br>job. <pre>-- %--IRIN->-Institut-de-Recherche-en-Informatique-de-Nantes-----------------% % FORT David, % % 7 avenue de la morvandière 0240726275 % % 44470 Thouare, France epopo@onetelnet.fr % % ICU:78064991 AIM: enlighted popo fort@irin.univ-nantes.fr % %--LINUX-HTTPD-PIOGENE----------------------------------------------------% % -datamining <-/ | .~. % % -networking/flashed PHP3 coming soon | /V\ L I N U X % % -opensource | // \\ >Fear the Penguin< % % -GNOME/enlightenment/GIMP | /( )\ % % feel enlighted.... | ^^-^^ % % <A HREF="http://ibonneace.dnsalias.org/">http://ibonneace.dnsalias.org/</A> when connected % %-------------------------------------------------------------------------%</pre> </html>
| |