* [PATCH v3 0/2] uacce: fix some coding styles
@ 2020-09-23 10:09 Kai Ye
2020-09-23 10:09 ` [PATCH v3 1/2] uacce: delete some redundant code Kai Ye
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: Kai Ye @ 2020-09-23 10:09 UTC (permalink / raw)
To: linux-accelerators, linux-kernel, linuxarm, zhangfei.gao; +Cc: 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 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(-)
--
2.8.1
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH v3 1/2] uacce: delete some redundant code.
2020-09-23 10:09 [PATCH v3 0/2] uacce: fix some coding styles Kai Ye
@ 2020-09-23 10:09 ` Kai Ye
2020-11-02 7:37 ` Zhou Wang
2020-09-23 10:09 ` [PATCH v3 2/2] uacce: modify the module author information Kai Ye
` (2 subsequent siblings)
3 siblings, 1 reply; 11+ messages in thread
From: Kai Ye @ 2020-09-23 10:09 UTC (permalink / raw)
To: linux-accelerators, linux-kernel, linuxarm, zhangfei.gao; +Cc: Kai Ye
Delete some redundant code.
Signed-off-by: Kai Ye <yekai13@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org>
---
drivers/misc/uacce/uacce.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/drivers/misc/uacce/uacce.c b/drivers/misc/uacce/uacce.c
index 107028e..9b83bc5 100644
--- a/drivers/misc/uacce/uacce.c
+++ b/drivers/misc/uacce/uacce.c
@@ -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;
--
2.8.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v3 2/2] uacce: modify the module author information.
2020-09-23 10:09 [PATCH v3 0/2] uacce: fix some coding styles Kai Ye
2020-09-23 10:09 ` [PATCH v3 1/2] uacce: delete some redundant code Kai Ye
@ 2020-09-23 10:09 ` Kai Ye
2020-11-02 7:38 ` Zhou Wang
2020-10-19 7:02 ` [PATCH v3 0/2] uacce: fix some coding styles yekai(A)
2020-11-02 6:41 ` Zhou Wang
3 siblings, 1 reply; 11+ messages in thread
From: Kai Ye @ 2020-09-23 10:09 UTC (permalink / raw)
To: linux-accelerators, linux-kernel, linuxarm, zhangfei.gao; +Cc: Kai Ye
The spelling of "Hisilicon" is modified.
Signed-off-by: Kai Ye <yekai13@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org>
---
drivers/misc/uacce/uacce.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/uacce/uacce.c b/drivers/misc/uacce/uacce.c
index 9b83bc5..1d09707 100644
--- a/drivers/misc/uacce/uacce.c
+++ b/drivers/misc/uacce/uacce.c
@@ -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");
--
2.8.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH v3 0/2] uacce: fix some coding styles
2020-09-23 10:09 [PATCH v3 0/2] uacce: fix some coding styles Kai Ye
2020-09-23 10:09 ` [PATCH v3 1/2] uacce: delete some redundant code Kai Ye
2020-09-23 10:09 ` [PATCH v3 2/2] uacce: modify the module author information Kai Ye
@ 2020-10-19 7:02 ` yekai(A)
2020-11-02 6:41 ` Zhou Wang
3 siblings, 0 replies; 11+ messages in thread
From: yekai(A) @ 2020-10-19 7:02 UTC (permalink / raw)
To: linux-accelerators, linux-kernel, linuxarm, zhangfei.gao
Hi Hartman
Could you help to take this patch?
Thanks.
On 2020/9/23 18:09, Kai Ye wrote:
> 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(-)
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 0/2] uacce: fix some coding styles
2020-09-23 10:09 [PATCH v3 0/2] uacce: fix some coding styles Kai Ye
` (2 preceding siblings ...)
2020-10-19 7:02 ` [PATCH v3 0/2] uacce: fix some coding styles yekai(A)
@ 2020-11-02 6:41 ` Zhou Wang
2020-11-02 7:09 ` Greg Kroah-Hartman
3 siblings, 1 reply; 11+ messages in thread
From: Zhou Wang @ 2020-11-02 6:41 UTC (permalink / raw)
To: Kai Ye, linux-accelerators, linux-kernel, linuxarm, zhangfei.gao,
Greg Kroah-Hartman
On 2020/9/23 18:09, Kai Ye wrote:
> 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(-)
>
Hi Hartman,
Could you help to take this clean up patch?
Best,
Zhou
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 0/2] uacce: fix some coding styles
2020-11-02 6:41 ` Zhou Wang
@ 2020-11-02 7:09 ` Greg Kroah-Hartman
2020-11-02 7:38 ` Zhou Wang
0 siblings, 1 reply; 11+ messages in thread
From: Greg Kroah-Hartman @ 2020-11-02 7:09 UTC (permalink / raw)
To: Zhou Wang
Cc: Kai Ye, linux-accelerators, linux-kernel, linuxarm, zhangfei.gao
On Mon, Nov 02, 2020 at 02:41:12PM +0800, Zhou Wang wrote:
> On 2020/9/23 18:09, Kai Ye wrote:
> > 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(-)
> >
>
> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 1/2] uacce: delete some redundant code.
2020-09-23 10:09 ` [PATCH v3 1/2] uacce: delete some redundant code Kai Ye
@ 2020-11-02 7:37 ` Zhou Wang
0 siblings, 0 replies; 11+ messages in thread
From: Zhou Wang @ 2020-11-02 7:37 UTC (permalink / raw)
To: Kai Ye, linux-accelerators, linux-kernel, linuxarm, zhangfei.gao,
Greg Kroah-Hartman
On 2020/9/23 18:09, Kai Ye wrote:
> Delete some redundant code.
>
> Signed-off-by: Kai Ye <yekai13@huawei.com>
> Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
> Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org>
> ---
> drivers/misc/uacce/uacce.c | 11 -----------
> 1 file changed, 11 deletions(-)
>
> diff --git a/drivers/misc/uacce/uacce.c b/drivers/misc/uacce/uacce.c
> index 107028e..9b83bc5 100644
> --- a/drivers/misc/uacce/uacce.c
> +++ b/drivers/misc/uacce/uacce.c
> @@ -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;
>
Hi Hartman,
Could you take this patch?
Best,
Zhou
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 2/2] uacce: modify the module author information.
2020-09-23 10:09 ` [PATCH v3 2/2] uacce: modify the module author information Kai Ye
@ 2020-11-02 7:38 ` Zhou Wang
0 siblings, 0 replies; 11+ messages in thread
From: Zhou Wang @ 2020-11-02 7:38 UTC (permalink / raw)
To: Kai Ye, linux-accelerators, linux-kernel, linuxarm, zhangfei.gao,
gregkh@linuxfoundation.org >> Greg Kroah-Hartman
On 2020/9/23 18:09, Kai Ye wrote:
> The spelling of "Hisilicon" is modified.
>
> Signed-off-by: Kai Ye <yekai13@huawei.com>
> Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
> Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org>
> ---
> drivers/misc/uacce/uacce.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/misc/uacce/uacce.c b/drivers/misc/uacce/uacce.c
> index 9b83bc5..1d09707 100644
> --- a/drivers/misc/uacce/uacce.c
> +++ b/drivers/misc/uacce/uacce.c
> @@ -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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 0/2] uacce: fix some coding styles
2020-11-02 7:09 ` Greg Kroah-Hartman
@ 2020-11-02 7:38 ` Zhou Wang
2020-11-02 8:33 ` Greg Kroah-Hartman
0 siblings, 1 reply; 11+ messages in thread
From: Zhou Wang @ 2020-11-02 7:38 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Kai Ye, linux-accelerators, linux-kernel, linuxarm, zhangfei.gao
On 2020/11/2 15:09, Greg Kroah-Hartman wrote:
> On Mon, Nov 02, 2020 at 02:41:12PM +0800, Zhou Wang wrote:
>> On 2020/9/23 18:09, Kai Ye wrote:
>>> 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(-)
>>>
>>
>> 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
>
> If I have missed something, please resend it.
>
> thanks,
>
> greg k-h
> .
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 0/2] uacce: fix some coding styles
2020-11-02 7:38 ` Zhou Wang
@ 2020-11-02 8:33 ` Greg Kroah-Hartman
2020-11-02 8:39 ` Zhou Wang
0 siblings, 1 reply; 11+ messages in thread
From: Greg Kroah-Hartman @ 2020-11-02 8:33 UTC (permalink / raw)
To: Zhou Wang
Cc: Kai Ye, linux-accelerators, linux-kernel, linuxarm, zhangfei.gao
On Mon, Nov 02, 2020 at 03:38:49PM +0800, Zhou Wang wrote:
> On 2020/11/2 15:09, Greg Kroah-Hartman wrote:
> > On Mon, Nov 02, 2020 at 02:41:12PM +0800, Zhou Wang wrote:
> >> On 2020/9/23 18:09, Kai Ye wrote:
> >>> 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(-)
> >>>
> >>
> >> 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?
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v3 0/2] uacce: fix some coding styles
2020-11-02 8:33 ` Greg Kroah-Hartman
@ 2020-11-02 8:39 ` Zhou Wang
0 siblings, 0 replies; 11+ messages in thread
From: Zhou Wang @ 2020-11-02 8:39 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Kai Ye, linux-accelerators, linux-kernel, linuxarm, zhangfei.gao
On 2020/11/2 16:33, Greg Kroah-Hartman wrote:
> On Mon, Nov 02, 2020 at 03:38:49PM +0800, Zhou Wang wrote:
>> On 2020/11/2 15:09, Greg Kroah-Hartman wrote:
>>> On Mon, Nov 02, 2020 at 02:41:12PM +0800, Zhou Wang wrote:
>>>> On 2020/9/23 18:09, Kai Ye wrote:
>>>>> 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(-)
>>>>>
>>>>
>>>> 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?
>
> 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
>
> thanks,
>
> greg k-h
> .
>
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2020-11-02 8:39 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23 10:09 [PATCH v3 0/2] uacce: fix some coding styles Kai Ye
2020-09-23 10:09 ` [PATCH v3 1/2] uacce: delete some redundant code Kai Ye
2020-11-02 7:37 ` Zhou Wang
2020-09-23 10:09 ` [PATCH v3 2/2] uacce: modify the module author information Kai Ye
2020-11-02 7:38 ` Zhou Wang
2020-10-19 7:02 ` [PATCH v3 0/2] uacce: fix some coding styles yekai(A)
2020-11-02 6:41 ` Zhou Wang
2020-11-02 7:09 ` Greg Kroah-Hartman
2020-11-02 7:38 ` Zhou Wang
2020-11-02 8:33 ` Greg Kroah-Hartman
2020-11-02 8:39 ` Zhou Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).