2021-02-22 08:24:03

by Bhaskar Chowdhury

[permalink] [raw]
Subject: [PATCH] drivers: gnu: drm: i915: gvt: Fixed couple of spellings in the file gtt.c


s/negtive/negative/
s/possilbe/possible/

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
drivers/gpu/drm/i915/gvt/gtt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/gvt/gtt.c b/drivers/gpu/drm/i915/gvt/gtt.c
index 897c007ea96a..dc5834bf4de2 100644
--- a/drivers/gpu/drm/i915/gvt/gtt.c
+++ b/drivers/gpu/drm/i915/gvt/gtt.c
@@ -1159,8 +1159,8 @@ static inline void ppgtt_generate_shadow_entry(struct intel_gvt_gtt_entry *se,
* @vgpu: target vgpu
* @entry: target pfn's gtt entry
*
- * Return 1 if 2MB huge gtt shadowing is possilbe, 0 if miscondition,
- * negtive if found err.
+ * Return 1 if 2MB huge gtt shadowing is possible, 0 if miscondition,
+ * negative if found err.
*/
static int is_2MB_gtt_possible(struct intel_vgpu *vgpu,
struct intel_gvt_gtt_entry *entry)
--
2.26.2


2021-02-22 14:33:10

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] drivers: gnu: drm: i915: gvt: Fixed couple of spellings in the file gtt.c

On 2/22/21 12:18 AM, Bhaskar Chowdhury wrote:
>
> s/negtive/negative/
> s/possilbe/possible/
>
> Signed-off-by: Bhaskar Chowdhury <[email protected]>

Acked-by: Randy Dunlap <[email protected]>

> ---
> drivers/gpu/drm/i915/gvt/gtt.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/gvt/gtt.c b/drivers/gpu/drm/i915/gvt/gtt.c
> index 897c007ea96a..dc5834bf4de2 100644
> --- a/drivers/gpu/drm/i915/gvt/gtt.c
> +++ b/drivers/gpu/drm/i915/gvt/gtt.c
> @@ -1159,8 +1159,8 @@ static inline void ppgtt_generate_shadow_entry(struct intel_gvt_gtt_entry *se,
> * @vgpu: target vgpu
> * @entry: target pfn's gtt entry
> *
> - * Return 1 if 2MB huge gtt shadowing is possilbe, 0 if miscondition,
> - * negtive if found err.
> + * Return 1 if 2MB huge gtt shadowing is possible, 0 if miscondition,
> + * negative if found err.
> */
> static int is_2MB_gtt_possible(struct intel_vgpu *vgpu,
> struct intel_gvt_gtt_entry *entry)
> --


--
~Randy

2021-02-22 14:34:14

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] drivers: gnu: drm: i915: gvt: Fixed couple of spellings in the file gtt.c

On 2/22/21 6:21 AM, Randy Dunlap wrote:
> On 2/22/21 12:18 AM, Bhaskar Chowdhury wrote:
>>
>> s/negtive/negative/
>> s/possilbe/possible/
>>
>> Signed-off-by: Bhaskar Chowdhury <[email protected]>
>
> Acked-by: Randy Dunlap <[email protected]>

except the Subject has a typo in it.
s/gnu/gpu/

>> ---
>> drivers/gpu/drm/i915/gvt/gtt.c | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/i915/gvt/gtt.c b/drivers/gpu/drm/i915/gvt/gtt.c
>> index 897c007ea96a..dc5834bf4de2 100644
>> --- a/drivers/gpu/drm/i915/gvt/gtt.c
>> +++ b/drivers/gpu/drm/i915/gvt/gtt.c
>> @@ -1159,8 +1159,8 @@ static inline void ppgtt_generate_shadow_entry(struct intel_gvt_gtt_entry *se,
>> * @vgpu: target vgpu
>> * @entry: target pfn's gtt entry
>> *
>> - * Return 1 if 2MB huge gtt shadowing is possilbe, 0 if miscondition,
>> - * negtive if found err.
>> + * Return 1 if 2MB huge gtt shadowing is possible, 0 if miscondition,
>> + * negative if found err.
>> */
>> static int is_2MB_gtt_possible(struct intel_vgpu *vgpu,
>> struct intel_gvt_gtt_entry *entry)
>> --
>
>


--
~Randy
Reported-by: Randy Dunlap <[email protected]>

2021-03-01 06:13:41

by Zhenyu Wang

[permalink] [raw]
Subject: Re: [PATCH] drivers: gnu: drm: i915: gvt: Fixed couple of spellings in the file gtt.c

On 2021.02.22 06:22:37 -0800, Randy Dunlap wrote:
> On 2/22/21 6:21 AM, Randy Dunlap wrote:
> > On 2/22/21 12:18 AM, Bhaskar Chowdhury wrote:
> >>
> >> s/negtive/negative/
> >> s/possilbe/possible/
> >>
> >> Signed-off-by: Bhaskar Chowdhury <[email protected]>
> >
> > Acked-by: Randy Dunlap <[email protected]>
>
> except the Subject has a typo in it.
> s/gnu/gpu/
>

And pls follow gvt subsys's subject line as drm/i915/gvt: xxx in future.
I'll fix the title and queue this.

Thanks!

> >> ---
> >> drivers/gpu/drm/i915/gvt/gtt.c | 4 ++--
> >> 1 file changed, 2 insertions(+), 2 deletions(-)
> >>
> >> diff --git a/drivers/gpu/drm/i915/gvt/gtt.c b/drivers/gpu/drm/i915/gvt/gtt.c
> >> index 897c007ea96a..dc5834bf4de2 100644
> >> --- a/drivers/gpu/drm/i915/gvt/gtt.c
> >> +++ b/drivers/gpu/drm/i915/gvt/gtt.c
> >> @@ -1159,8 +1159,8 @@ static inline void ppgtt_generate_shadow_entry(struct intel_gvt_gtt_entry *se,
> >> * @vgpu: target vgpu
> >> * @entry: target pfn's gtt entry
> >> *
> >> - * Return 1 if 2MB huge gtt shadowing is possilbe, 0 if miscondition,
> >> - * negtive if found err.
> >> + * Return 1 if 2MB huge gtt shadowing is possible, 0 if miscondition,
> >> + * negative if found err.
> >> */
> >> static int is_2MB_gtt_possible(struct intel_vgpu *vgpu,
> >> struct intel_gvt_gtt_entry *entry)
> >> --
> >
> >
>
>
> --
> ~Randy
> Reported-by: Randy Dunlap <[email protected]>
> _______________________________________________
> intel-gvt-dev mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev


Attachments:
(No filename) (1.62 kB)
signature.asc (201.00 B)
Download all attachments