register_chrdev_region() not working
Posted Nov 24, 2004 10:34 UTC (Wed) by
prakash07 (guest, #26172)
Parent article:
The zen of kobjects
i am newbe i am trying to register a character driver using alloc_char_region(300,61,1,"prakash");
it is compiling with warnings
passing arg 1 of 'alloc_chrdev_region' makes pointer from integer without cast.
if i load the module with insmod it is giving displaying
Unable to handle kernel NULLpointer derefrence at virtual address 0000012c
printing Eip:
segmentation fault
i am not able to unload my module
plz any one help me to get out of this problem
(
Log in to post comments)