add return values
This commit is contained in:
parent
bbcc1f9dd7
commit
52b7aaadce
1 changed files with 3 additions and 0 deletions
|
@ -44,18 +44,21 @@ int
|
|||
lkm_open(struct inode *inode, struct file *fp)
|
||||
{
|
||||
printk(KERN_INFO "lkm: open: start");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
lkm_release(struct inode *inode, struct file *fp)
|
||||
{
|
||||
printk(KERN_INFO "lkm: release: start");
|
||||
return 0;
|
||||
}
|
||||
|
||||
long
|
||||
lkm_ioctl(struct file *fp, unsigned num, long unsigned int param)
|
||||
{
|
||||
printk(KERN_INFO "lkm: release: start");
|
||||
return 0;
|
||||
}
|
||||
|
||||
MODULE_AUTHOR("Mira Chacku Purakal");
|
||||
|
|
Loading…
Add table
Reference in a new issue