diff --git a/code/lkm.c b/code/lkm.c index 1e7439939..3ebab35af 100644 --- a/code/lkm.c +++ b/code/lkm.c @@ -10,7 +10,7 @@ static int lkm_init(void); static int lkm_exit(void); int lkm_open(struct inode *, struct file *); int lkm_release(struct inode *, struct file *); -long lkm_ioctl(struct file *, unsigned int, long unsigend); +long lkm_ioctl(struct file *, unsigned int, long int); static struct file_operations lkm_fops = { .owner = THIS_MODULE, @@ -53,7 +53,7 @@ lkm_release(struct inode *inode, struct file *fp) } long lkm_ioctl(struct file *fp, unsigned num, - long unsigned param) { printk(KERN_INFO "lkm: release: start") } + long int param) { printk(KERN_INFO "lkm: release: start") } MODULE_AUTHOR("Mira Chacku Purakal"); MODULE_DESCRIPTION("Generic Module");