change type again

This commit is contained in:
twoneis 2025-03-25 16:52:08 +01:00
parent 4d785078cf
commit d05ab57551

View file

@ -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");