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)
|
lkm_open(struct inode *inode, struct file *fp)
|
||||||
{
|
{
|
||||||
printk(KERN_INFO "lkm: open: start");
|
printk(KERN_INFO "lkm: open: start");
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
lkm_release(struct inode *inode, struct file *fp)
|
lkm_release(struct inode *inode, struct file *fp)
|
||||||
{
|
{
|
||||||
printk(KERN_INFO "lkm: release: start");
|
printk(KERN_INFO "lkm: release: start");
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
long
|
long
|
||||||
lkm_ioctl(struct file *fp, unsigned num, long unsigned int param)
|
lkm_ioctl(struct file *fp, unsigned num, long unsigned int param)
|
||||||
{
|
{
|
||||||
printk(KERN_INFO "lkm: release: start");
|
printk(KERN_INFO "lkm: release: start");
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
MODULE_AUTHOR("Mira Chacku Purakal");
|
MODULE_AUTHOR("Mira Chacku Purakal");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue