[media] dvbdev: the space is required after ','
The space is missing after ',', and this will be introduce much noise when checking new patch around them. Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
5c3fbc5e03
commit
0ede1876f7
1 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ static const char * const dnames[] = {
|
||||||
#define DVB_MAX_IDS MAX_DVB_MINORS
|
#define DVB_MAX_IDS MAX_DVB_MINORS
|
||||||
#else
|
#else
|
||||||
#define DVB_MAX_IDS 4
|
#define DVB_MAX_IDS 4
|
||||||
#define nums2minor(num,type,id) ((num << 6) | (id << 4) | type)
|
#define nums2minor(num, type, id) ((num << 6) | (id << 4) | type)
|
||||||
#define MAX_DVB_MINORS (DVB_MAX_ADAPTERS*64)
|
#define MAX_DVB_MINORS (DVB_MAX_ADAPTERS*64)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ static int dvb_device_open(struct inode *inode, struct file *file)
|
||||||
file->private_data = dvbdev;
|
file->private_data = dvbdev;
|
||||||
replace_fops(file, new_fops);
|
replace_fops(file, new_fops);
|
||||||
if (file->f_op->open)
|
if (file->f_op->open)
|
||||||
err = file->f_op->open(inode,file);
|
err = file->f_op->open(inode, file);
|
||||||
up_read(&minor_rwsem);
|
up_read(&minor_rwsem);
|
||||||
mutex_unlock(&dvbdev_mutex);
|
mutex_unlock(&dvbdev_mutex);
|
||||||
return err;
|
return err;
|
||||||
|
@ -867,7 +867,7 @@ int dvb_usercopy(struct file *file,
|
||||||
parg = sbuf;
|
parg = sbuf;
|
||||||
} else {
|
} else {
|
||||||
/* too big to allocate from stack */
|
/* too big to allocate from stack */
|
||||||
mbuf = kmalloc(_IOC_SIZE(cmd),GFP_KERNEL);
|
mbuf = kmalloc(_IOC_SIZE(cmd), GFP_KERNEL);
|
||||||
if (NULL == mbuf)
|
if (NULL == mbuf)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
parg = mbuf;
|
parg = mbuf;
|
||||||
|
|
Loading…
Reference in a new issue