uacce: fix some coding styles
Subsystems (2)
v3 cover uacce: fix some coding styles
1. delete some redundant code.
2. modify the module author information. "Hisilicon" spelling is error.
Changes v2 -> v3:
Two things, splited to two patches.
Changes v1 -> v2:
deleted extra NULL pointer check in uacce_fops.
Kai Ye (2):
uacce: fix some coding styles
uacce: modify the module author information.
drivers/misc/uacce/uacce.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
Signature · 1 line
2.8.1
PATCH v3 1/2 uacce: delete some redundant code.
Delete some redundant code.
--- drivers/misc/uacce/uacce.c | 11 ----------- 1 file changed, 11 deletions(-)
drivers/misc/uacce/uacce.c +0 -11
@@ -239,17 +239,6 @@ static int uacce_fops_mmap(struct file *filep, struct vm_area_struct *vma)switch (type) {case UACCE_QFRT_MMIO : -if (!uacce->ops->mmap) { - ret = -EINVAL ; - goto out_with_lock; - } - - ret = uacce->ops->mmap (q, vma, qfr); -if (ret) - goto out_with_lock; - -break ; -case UACCE_QFRT_DUS :if (!uacce->ops->mmap) { ret = -EINVAL ;
Signature · 1 line
2.8.1
Zhou Wang
maintainerRe: [PATCH v3 1/2] uacce: delete some redundant code.
Quoted 23 lines · Kai Ye
Delete some redundant code.
Signed-off-by Kai Ye <[email protected]>Reviewed-by Zhou Wang <[email protected]>Reviewed-by Jonathan Cameron <[email protected]>Acked-by Zhangfei Gao <[email protected]>--- drivers/misc/uacce/uacce.c | 11 ----------- 1 file changed, 11 deletions(-)drivers/misc/uacce/uacce.c +0
-4@@ -239,17 +239,6 @@ static int uacce_fops_mmap(struct file *filep, struct vm_area_struct *vma)switch (type) {case UACCE_QFRT_MMIO : -if (!uacce->ops->mmap) { - ret = -EINVAL ; - goto out_with_lock; - }
drivers/misc/uacce/uacce.c static int uacce_fops_mmap(struct file *filep, struct vm_area_struct *vma) · line 244
Quoted 10 lines
drivers/misc/uacce/uacce.c +0
-7- - ret = uacce->ops->mmap (q, vma, qfr); -if (ret) - goto out_with_lock; - -break ; -case UACCE_QFRT_DUS :if (!uacce->ops->mmap) { ret = -EINVAL ;
Hi Hartman,
Could you take this patch?
Best,
Zhou
PATCH v3 2/2 uacce: modify the module author information.
In reply to Kai YeThe spelling of "Hisilicon" is modified.
--- drivers/misc/uacce/uacce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/uacce/uacce.c +1 -1
@@ -530,5 +530,5 @@ subsys_initcall(uacce_init);module_exit (uacce_exit);MODULE_LICENSE ("GPL" ); -MODULE_AUTHOR ("Hisilicon Tech. Co., Ltd." ); +MODULE_AUTHOR ("HiSilicon Tech. Co., Ltd." );MODULE_DESCRIPTION ("Accelerator interface for Userland applications" );
Signature · 1 line
2.8.1
Zhou Wang
maintainerRe: [PATCH v3 2/2] uacce: modify the module author information.
Quoted 16 lines · Kai Ye
The spelling of "Hisilicon" is modified.
Signed-off-by Kai Ye <[email protected]>Reviewed-by Zhou Wang <[email protected]>Reviewed-by Jonathan Cameron <[email protected]>Acked-by Zhangfei Gao <[email protected]>--- drivers/misc/uacce/uacce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/misc/uacce/uacce.c +0
-0
drivers/misc/uacce/uacce.c subsys_initcall(uacce_init); · line 534
Quoted 6 lines
drivers/misc/uacce/uacce.c +1
-1@@ -530,5 +530,5 @@ subsys_initcall(uacce_init);module_exit (uacce_exit);MODULE_LICENSE ("GPL" ); -MODULE_AUTHOR ("Hisilicon Tech. Co., Ltd." ); +MODULE_AUTHOR ("HiSilicon Tech. Co., Ltd." );MODULE_DESCRIPTION ("Accelerator interface for Userland applications" );
Hi Hartman,
Could you take this patch?
Best,
Zhou
Hi Hartman
Could you help to take this patch?
Thanks.
Quoted 16 lines · Kai Ye
1. delete some redundant code.
2. modify the module author information. "Hisilicon" spelling is error.Changes v2 -> v3:
Two things, splited to two patches.
Changes v1 -> v2:
deleted extra NULL pointer check inuacce_fops.Kai Ye (2):
uacce: fix some coding styles
uacce: modify the module author information.drivers/misc/uacce/uacce.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
Zhou Wang
maintainerQuoted 9 lines · Kai Ye
1. delete some redundant code.
2. modify the module author information. "Hisilicon" spelling is error.Changes v2 -> v3:
Two things, splited to two patches.
Changes v1 -> v2:
deleted extra NULL pointer check inuacce_fops.
Quoted 7 lines
Kai Ye (2):
uacce: fix some coding styles
uacce: modify the module author information.drivers/misc/uacce/uacce.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
Hi Hartman,
Could you help to take this clean up patch?
Best,
Zhou
Greg Kroah-Hartman
maintainerQuoted 14 lines · Zhou Wang
Quoted 13 lines · Kai Ye
1. delete some redundant code.
2. modify the module author information. "Hisilicon" spelling is error.Changes v2 -> v3:
Two things, splited to two patches.
Changes v1 -> v2:
deleted extra NULL pointer check inuacce_fops.Kai Ye (2):
uacce: fix some coding styles
uacce: modify the module author information.
Quoted 7 lines
Quoted 3 lines
drivers/misc/uacce/uacce.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)Hi Hartman,
Could you help to take this clean up patch?
I do not see a patch here :(
If I have missed something, please resend it.
thanks,
greg k-h
Zhou Wang
maintainerQuoted 19 lines · Greg Kroah-Hartman
Quoted 18 lines · Zhou Wang
Quoted 16 lines · Kai Ye
1. delete some redundant code.
2. modify the module author information. "Hisilicon" spelling is error.Changes v2 -> v3:
Two things, splited to two patches.
Changes v1 -> v2:
deleted extra NULL pointer check inuacce_fops.Kai Ye (2):
uacce: fix some coding styles
uacce: modify the module author information.drivers/misc/uacce/uacce.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
Quoted 5 lines
Quoted 3 lines
Hi Hartman,
Could you help to take this clean up patch?
I do not see a patch here :(
I know the reason, Kai Ye did not To you and I also added your Email address in this ping :) I have replied patches directly.
Could you take them?
Best,
Zhou
Quoted 8 lines
If I have missed something, please resend it.
thanks,
greg k-h
.
Greg Kroah-Hartman
maintainerQuoted 22 lines · Zhou Wang
Quoted 21 lines · Greg Kroah-Hartman
Quoted 20 lines · Zhou Wang
Quoted 9 lines · Kai Ye
1. delete some redundant code.
2. modify the module author information. "Hisilicon" spelling is error.Changes v2 -> v3:
Two things, splited to two patches.
Changes v1 -> v2:
deleted extra NULL pointer check inuacce_fops.Quoted 7 lines
Kai Ye (2):
uacce: fix some coding styles
uacce: modify the module author information.drivers/misc/uacce/uacce.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)Hi Hartman,
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Could you help to take this clean up patch?
I do not see a patch here :(
I know the reason, Kai Ye did not To you and I also added your Email address in this ping :) I have replied patches directly.
Could you take them?
I need them in a format that I can apply them in, please resend the whole series properly, so that I do not have to edit them by-hand.
thanks,
greg k-h
Zhou Wang
maintainerQuoted 27 lines · Greg Kroah-Hartman
Quoted 26 lines · Zhou Wang
Quoted 24 lines · Greg Kroah-Hartman
Quoted 14 lines · Zhou Wang
Quoted 13 lines · Kai Ye
1. delete some redundant code.
2. modify the module author information. "Hisilicon" spelling is error.Changes v2 -> v3:
Two things, splited to two patches.
Changes v1 -> v2:
deleted extra NULL pointer check inuacce_fops.Kai Ye (2):
uacce: fix some coding styles
uacce: modify the module author information.Quoted 7 lines
Quoted 3 lines
drivers/misc/uacce/uacce.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)Hi Hartman,
Could you help to take this clean up patch?
I do not see a patch here :(
Quoted 7 lines
Quoted 4 lines
I know the reason, Kai Ye did not To you and I also added your Email address in this ping :) I have replied patches directly.
Could you take them?
I need them in a format that I can apply them in, please resend the whole series properly, so that I do not have to edit them by-hand.
Got it. Thanks!
Best,
Zhou
Quoted 6 lines
thanks,
greg k-h
.