From mboxrd@z Thu Jan 1 00:00:00 1970 From: dan.carpenter@oracle.com (Dan Carpenter) Date: Fri, 16 Aug 2019 14:28:20 +0300 Subject: [RFC PATCH 04/15] drivers/acrn: add the basic framework of acrn char device driver In-Reply-To: <1565922356-4488-5-git-send-email-yakui.zhao@intel.com> References: <1565922356-4488-1-git-send-email-yakui.zhao@intel.com> <1565922356-4488-5-git-send-email-yakui.zhao@intel.com> Message-ID: <20190816112820.GV1974@kadam> List-Id: Linux Driver Project Developer List On Fri, Aug 16, 2019@10:25:45AM +0800, Zhao Yakui wrote: > +static > +int acrn_dev_open(struct inode *inodep, struct file *filep) > +{ > + pr_info("%s: opening device node\n", __func__); > + > + return 0; > +} > + > +static > +long acrn_dev_ioctl(struct file *filep, > + unsigned int ioctl_num, unsigned long ioctl_param) > +{ > + long ret = 0; > + > + return ret; This module is mostly stubs and debugging printks... :( I looked ahead in the patch series to see if we do something with the stubs later on and it turns out we do. Fold the two patches together so that we don't have to review patches like this one. Each patch should do "one thing" which makes sense and can be reviewed independently. regards, dan carpenter