set owner

This commit is contained in:
twoneis 2025-03-25 16:50:12 +01:00
parent 43e9927a8c
commit c501090a3a

View file

@ -13,7 +13,7 @@ int lkm_release(struct inode *, struct file *);
long lkm_ioctl(struct file *, unsigned int, long unsigend); long lkm_ioctl(struct file *, unsigned int, long unsigend);
static struct file_operations lkm_fops = { static struct file_operations lkm_fops = {
.owner = "", .owner = THIS_MODULE,
.open = lkm_open, .open = lkm_open,
.release = lkm_release, .release = lkm_release,
.unlocked_ioctl = lkm_ioctl, .unlocked_ioctl = lkm_ioctl,