GPU: DRM: drm_agpsupport.c: Code cleanup
Subsystems (2)
cover GPU: DRM: drm_agpsupport.c: Code cleanup
These patches fix the checkpath warnings and errors in drm_agpsupport.c
Meghana Madhyastha (3):
GPU: DRM: Moved EXPORT_SYMBOL so that it immediately followed its
function
GPU: DRM: Replace "foo * bar" with "foo *bar"
GPU: DRM: Remove assignment in if condition
drivers/gpu/drm/drm_agpsupport.c | 41 ++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-)
Signature · 1 line
2.7.4
PATCH 1/3 GPU: DRM: Moved EXPORT_SYMBOL so that it immediately followed its function
EXPORT_SYMBOL(foo) should immediately follow its function/variable. This coding style is preferred.
Found by checkpath.pl.
--- drivers/gpu/drm/drm_agpsupport.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/gpu/drm/drm_agpsupport.c +0 -4
@@ -70,7 +70,6 @@ int drm_agp_info(struct drm_device *dev, struct drm_agp_info *info)return 0 ; } -EXPORT_SYMBOL (drm_agp_info); int drm_agp_info_ioctl(struct drm_device *dev, void *data,
@@ -106,7 +105,6 @@ int drm_agp_acquire(struct drm_device * dev) dev->agp->acquired =1 ;return 0 ; } -EXPORT_SYMBOL (drm_agp_acquire);/**
@@ -171,7 +169,6 @@ int drm_agp_enable(struct drm_device * dev, struct drm_agp_mode mode) dev->agp->enabled =1 ;return 0 ; } -EXPORT_SYMBOL (drm_agp_enable); int drm_agp_enable_ioctl(struct drm_device *dev, void *data,
@@ -373,7 +370,6 @@ int drm_agp_free(struct drm_device *dev, struct drm_agp_buffer *request)EXPORT_SYMBOL (drm_agp_free); -int drm_agp_free_ioctl (struct drm_device *dev,void *data,struct drm_file *file_priv) {
Signature · 1 line
2.7.4
Re: [Outreachy kernel] [PATCH 1/3] GPU: DRM: Moved EXPORT_SYMBOL so that it immediately followed its function
Quoted 38 lines · Meghana Madhyastha
EXPORT_SYMBOL(foo)should immediately follow its function/variable. This coding style is preferred.
Found by checkpath.pl.Signed-off-by Meghana Madhyastha <[email protected]>--- drivers/gpu/drm/drm_agpsupport.c | 4 ---- 1 file changed, 4 deletions(-)drivers/gpu/drm/drm_agpsupport.c +0
-3@@ -70,7 +70,6 @@ int drm_agp_info(struct drm_device *dev, struct drm_agp_info *info)return 0 ; } -EXPORT_SYMBOL (drm_agp_info); int drm_agp_info_ioctl(struct drm_device *dev, void *data,@@ -106,7 +105,6 @@ int drm_agp_acquire(struct drm_device * dev) dev->agp->acquired =1 ;return 0 ; } -EXPORT_SYMBOL (drm_agp_acquire);/** @@ -171,7 +169,6 @@ int drm_agp_enable(struct drm_device * dev, struct drm_agp_mode mode) dev->agp->enabled =1 ;return 0 ; } -EXPORT_SYMBOL (drm_agp_enable); int drm_agp_enable_ioctl(struct drm_device *dev, void *data,
drivers/gpu/drm/drm_agpsupport.c int drm_agp_free(struct drm_device *dev, struct drm_agp_buffer *request) · line 376
Quoted 4 lines
drivers/gpu/drm/drm_agpsupport.c +0
-1@@ -373,7 +370,6 @@ int drm_agp_free(struct drm_device *dev, struct drm_agp_buffer *request)EXPORT_SYMBOL (drm_agp_free); -
What was the issue here? There are indeed too many blank lines, but that would be a different patch.
julia
Quoted 13 lines
drivers/gpu/drm/drm_agpsupport.c +0
-1int drm_agp_free_ioctl (struct drm_device *dev,void *data,struct drm_file *file_priv) { --2.7.4
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/2f47dda3c36c008a108768d7142684c372f0980f.1505296813.git.meghana.madhyastha%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
PATCH 2/3 GPU: DRM: Replace "foo * bar" with "foo *bar"
In reply to Meghana MadhyasthaThis replaces all instances of foo * bar with foo *bar in drm_agpsupport.c. This is so that it adheres to standard C syntax for pointers.
--- drivers/gpu/drm/drm_agpsupport.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/gpu/drm/drm_agpsupport.c +5 -5
@@ -94,7 +94,7 @@ int drm_agp_info_ioctl(struct drm_device *dev, void *data,* Verifies the AGP device hasn't been acquired before and calls * \c agp_backend_acquire. */ -int drm_agp_acquire (struct drm_device * dev) +int drm_agp_acquire (struct drm_device *dev) {if (!dev->agp)return -ENODEV ;
@@ -133,7 +133,7 @@ int drm_agp_acquire_ioctl(struct drm_device *dev, void *data,* * Verifies the AGP device has been acquired and calls \c agp_backend_release. */ -int drm_agp_release (struct drm_device * dev) +int drm_agp_release (struct drm_device *dev) {if (!dev->agp || !dev->agp->acquired)return -EINVAL ;
@@ -159,7 +159,7 @@ int drm_agp_release_ioctl(struct drm_device *dev, void *data,* Verifies the AGP device has been acquired but not enabled, and calls * \c agp_enable. */ -int drm_agp_enable (struct drm_device * dev,struct drm_agp_mode mode) +int drm_agp_enable (struct drm_device *dev,struct drm_agp_mode mode) {if (!dev->agp || !dev->agp->acquired)return -EINVAL ;
@@ -241,8 +241,8 @@ int drm_agp_alloc_ioctl(struct drm_device *dev, void *data,* * Walks through drm_agp_head::memory until finding a matching handle. */ -static struct drm_agp_mem *drm_agp_lookup_entry (struct drm_device * dev, -unsigned long handle) +static struct drm_agp_mem *drm_agp_lookup_entry (struct drm_device *dev, +unsigned long handle) {struct drm_agp_mem *entry;
Signature · 1 line
2.7.4
Re: [Outreachy kernel] [PATCH 2/3] GPU: DRM: Replace "foo * bar" with "foo *bar"
Quoted 3 lines · Meghana Madhyastha
This replaces all instances of foo * bar with foo *bar in
drm_agpsupport.c. This is so that it adheres to standard C syntax for pointers.
Just for future reference, you don't really need to metion the file name in the log message. One can see that directly from the patch code.
Also, remember to use the imperative. So "This replaces" should be just "Replace".
Quoted 1 line
Signed-off-by Meghana Madhyastha <[email protected]>
julia
Quoted 56 lines
--- drivers/gpu/drm/drm_agpsupport.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)drivers/gpu/drm/drm_agpsupport.c +5
-6@@ -94,7 +94,7 @@ int drm_agp_info_ioctl(struct drm_device *dev, void *data,* Verifies the AGP device hasn't been acquired before and calls * \c agp_backend_acquire. */ -int drm_agp_acquire (struct drm_device * dev) +int drm_agp_acquire (struct drm_device *dev) {if (!dev->agp)return -ENODEV ;@@ -133,7 +133,7 @@ int drm_agp_acquire_ioctl(struct drm_device *dev, void *data,* * Verifies the AGP device has been acquired and calls \c agp_backend_release. */ -int drm_agp_release (struct drm_device * dev) +int drm_agp_release (struct drm_device *dev) {if (!dev->agp || !dev->agp->acquired)return -EINVAL ;@@ -159,7 +159,7 @@ int drm_agp_release_ioctl(struct drm_device *dev, void *data,* Verifies the AGP device has been acquired but not enabled, and calls * \c agp_enable. */ -int drm_agp_enable (struct drm_device * dev,struct drm_agp_mode mode) +int drm_agp_enable (struct drm_device *dev,struct drm_agp_mode mode) {if (!dev->agp || !dev->agp->acquired)return -EINVAL ;@@ -241,8 +241,8 @@ int drm_agp_alloc_ioctl(struct drm_device *dev, void *data,* * Walks through drm_agp_head::memory until finding a matching handle. */ -static struct drm_agp_mem *drm_agp_lookup_entry (struct drm_device * dev, -unsigned long handle) +static struct drm_agp_mem *drm_agp_lookup_entry (struct drm_device *dev, +unsigned long handle) {struct drm_agp_mem *entry; --2.7.4
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/3fefbb68a40ca5483a6b0e4c528c020e2d42f6bf.1505296813.git.meghana.madhyastha%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
PATCH 3/3 GPU: DRM: Remove assignment in if condition
In reply to Meghana MadhyasthaThis patch moves the assignment so that
it happens before the if condition. This
results in syntax which is easier to read.
Found by checkpath.pl
--- drivers/gpu/drm/drm_agpsupport.c | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-)
drivers/gpu/drm/drm_agpsupport.c +18 -9
@@ -100,7 +100,8 @@ int drm_agp_acquire(struct drm_device *dev)return -ENODEV ;if (dev->agp->acquired)return -EBUSY ; -if (!(dev->agp->bridge =agp_backend_acquire (dev->pdev))) + dev->agp->bridge =agp_backend_acquire (dev->pdev); +if (!dev->agp->bridge)return -ENODEV ; dev->agp->acquired =1 ;return 0 ;
@@ -200,12 +201,14 @@ int drm_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request)if (!dev->agp || !dev->agp->acquired)return -EINVAL ; -if (!(entry =kzalloc (sizeof (*entry),GFP_KERNEL ))) + entry =kzalloc (sizeof (*entry),GFP_KERNEL ); +if (!entry)return -ENOMEM ; pages = (request->size +PAGE_SIZE -1 ) /PAGE_SIZE ; type = (u32 ) request->type; -if (!(memory =agp_allocate_memory (dev->agp->bridge, pages, type))) { + memory =agp_allocate_memory (dev->agp->bridge, pages, type); +if (!memory) {kfree (entry);return -ENOMEM ; }
@@ -272,7 +275,8 @@ int drm_agp_unbind(struct drm_device *dev, struct drm_agp_binding *request)if (!dev->agp || !dev->agp->acquired)return -EINVAL ; -if (!(entry =drm_agp_lookup_entry (dev, request->handle))) + entry =drm_agp_lookup_entry (dev, request->handle); +if (!entry)return -EINVAL ;if (!entry->bound)return -EINVAL ;
@@ -313,12 +317,14 @@ int drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request)if (!dev->agp || !dev->agp->acquired)return -EINVAL ; -if (!(entry =drm_agp_lookup_entry (dev, request->handle))) + entry =drm_agp_lookup_entry (dev, request->handle); +if (!entry)return -EINVAL ;if (entry->bound)return -EINVAL ; page = (request->offset +PAGE_SIZE -1 ) /PAGE_SIZE ; -if ((retcode =drm_bind_agp (entry->memory, page))) + retcode =drm_bind_agp (entry->memory, page); +if (retcode)return retcode; entry->bound = dev->agp->base + (page <<PAGE_SHIFT ); DRM_DEBUG("base = 0x%lx entry->bound = 0x%lx\n",
@@ -356,7 +362,8 @@ int drm_agp_free(struct drm_device *dev, struct drm_agp_buffer *request)if (!dev->agp || !dev->agp->acquired)return -EINVAL ; -if (!(entry =drm_agp_lookup_entry (dev, request->handle))) + entry =drm_agp_lookup_entry (dev, request->handle); +if (!entry)return -EINVAL ;if (entry->bound)drm_unbind_agp (entry->memory);
@@ -394,11 +401,13 @@ struct drm_agp_head *drm_agp_init(struct drm_device *dev) {struct drm_agp_head *head =NULL ; -if (!(head =kzalloc (sizeof (*head),GFP_KERNEL ))) + head =kzalloc (sizeof (*head),GFP_KERNEL ); +if (!head)return NULL ; head->bridge =agp_find_bridge (dev->pdev);if (!head->bridge) { -if (!(head->bridge =agp_backend_acquire (dev->pdev))) { + head->bridge =agp_backend_acquire (dev->pdev); +if (!head->bridge) {kfree (head);return NULL ; }
Signature · 1 line
2.7.4
Re: [Outreachy kernel] [PATCH 3/3] GPU: DRM: Remove assignment in if condition
Quoted 3 lines · Meghana Madhyastha
This patch moves the assignment so that
it happens before the if condition. This
results in syntax which is easier to read.
The commit message could be a bit wider.
Quoted 40 lines
Found by checkpath.pl
Signed-off-by Meghana Madhyastha <[email protected]>--- drivers/gpu/drm/drm_agpsupport.c | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-)drivers/gpu/drm/drm_agpsupport.c +6
-3@@ -100,7 +100,8 @@ int drm_agp_acquire(struct drm_device *dev)return -ENODEV ;if (dev->agp->acquired)return -EBUSY ; -if (!(dev->agp->bridge =agp_backend_acquire (dev->pdev))) + dev->agp->bridge =agp_backend_acquire (dev->pdev); +if (!dev->agp->bridge)return -ENODEV ; dev->agp->acquired =1 ;return 0 ;@@ -200,12 +201,14 @@ int drm_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request)if (!dev->agp || !dev->agp->acquired)return -EINVAL ; -if (!(entry =kzalloc (sizeof (*entry),GFP_KERNEL ))) + entry =kzalloc (sizeof (*entry),GFP_KERNEL ); +if (!entry)return -ENOMEM ; pages = (request->size +PAGE_SIZE -1 ) /PAGE_SIZE ; type = (u32 ) request->type; -if (!(memory =agp_allocate_memory (dev->agp->bridge, pages, type))) { + memory =agp_allocate_memory (dev->agp->bridge, pages, type); +if (!memory) {kfree (entry);return -ENOMEM ; }
drivers/gpu/drm/drm_agpsupport.c int drm_agp_unbind(struct drm_device *dev, struct drm_agp_binding *request) · line 282
Quoted 9 lines
drivers/gpu/drm/drm_agpsupport.c +2
-1@@ -272,7 +275,8 @@ int drm_agp_unbind(struct drm_device *dev, struct drm_agp_binding *request)if (!dev->agp || !dev->agp->acquired)return -EINVAL ; -if (!(entry =drm_agp_lookup_entry (dev, request->handle))) + entry =drm_agp_lookup_entry (dev, request->handle); +if (!entry)return -EINVAL ;if (!entry->bound)return -EINVAL ;
In this case and the next one, there are two tests that end up with the same result. You could merge them now that the test expression is shorter, like the test a few lines up.
julia
Quoted 53 lines
drivers/gpu/drm/drm_agpsupport.c +10
-6@@ -313,12 +317,14 @@ int drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request)if (!dev->agp || !dev->agp->acquired)return -EINVAL ; -if (!(entry =drm_agp_lookup_entry (dev, request->handle))) + entry =drm_agp_lookup_entry (dev, request->handle); +if (!entry)return -EINVAL ;if (entry->bound)return -EINVAL ; page = (request->offset +PAGE_SIZE -1 ) /PAGE_SIZE ; -if ((retcode =drm_bind_agp (entry->memory, page))) + retcode =drm_bind_agp (entry->memory, page); +if (retcode)return retcode; entry->bound = dev->agp->base + (page <<PAGE_SHIFT ); DRM_DEBUG("base = 0x%lx entry->bound = 0x%lx\n",@@ -356,7 +362,8 @@ int drm_agp_free(struct drm_device *dev, struct drm_agp_buffer *request)if (!dev->agp || !dev->agp->acquired)return -EINVAL ; -if (!(entry =drm_agp_lookup_entry (dev, request->handle))) + entry =drm_agp_lookup_entry (dev, request->handle); +if (!entry)return -EINVAL ;if (entry->bound)drm_unbind_agp (entry->memory);@@ -394,11 +401,13 @@ struct drm_agp_head *drm_agp_init(struct drm_device *dev) {struct drm_agp_head *head =NULL ; -if (!(head =kzalloc (sizeof (*head),GFP_KERNEL ))) + head =kzalloc (sizeof (*head),GFP_KERNEL ); +if (!head)return NULL ; head->bridge =agp_find_bridge (dev->pdev);if (!head->bridge) { -if (!(head->bridge =agp_backend_acquire (dev->pdev))) { + head->bridge =agp_backend_acquire (dev->pdev); +if (!head->bridge) {kfree (head);return NULL ; } --2.7.4
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/5eb79800ec4c7218e23841345ba81e3a515901e7.1505296813.git.meghana.madhyastha%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Quoted 11 lines · Meghana Madhyastha
These patches fix the checkpath warnings and errors in
drm_agpsupport.cMeghana Madhyastha (3):
GPU: DRM: MovedEXPORT_SYMBOLso that it immediately followed its
function
GPU: DRM: Replace "foo * bar" with "foo *bar"
GPU: DRM: Remove assignment in if conditiondrivers/gpu/drm/drm_agpsupport.c | 41 ++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-)
Are the DRM people going to pick this up? Because Greg will not. If you do something that is outside staging at a mentor's suggestion it could be good to make explicit that the mentor will make sure that the patch will be applied.
thanks,
julia
Quoted 11 lines
--
2.7.4--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/cover.1505296813.git.meghana.madhyastha%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Quoted 5 lines · Julia Lawall
Quoted 3 lines · Meghana Madhyastha
These patches fix the checkpath warnings and errors in
drm_agpsupport.c
Quoted 7 lines
Quoted 7 lines
Meghana Madhyastha (3):
GPU: DRM: MovedEXPORT_SYMBOLso that it immediately followed its
function
GPU: DRM: Replace "foo * bar" with "foo *bar"
GPU: DRM: Remove assignment in if conditiondrivers/gpu/drm/drm_agpsupport.c | 41 ++++++++++++++++++++++------------------
Please try 'git log --oneline -- drivers/gpu/drm/drm_agpsupport.c' and observe the commit subject prefix used. Please try to follow the style in the area you're changing, not some generic rules.
Quoted 6 lines
Quoted 1 line
1 file changed, 23 insertions(+), 18 deletions(-)Are the DRM people going to pick this up? Because Greg will not. If you do something that is outside staging at a mentor's suggestion it could be good to make explicit that the mentor will make sure that the patch will be applied.
I'm not generally fond of pure checkpatch fixes, but patch 3 alone I want enough to pick them all up. ;)
But please do submit the series to [email protected]. As a matter of policy, we don't apply patches not posted to our subsystem mailing list.
The scripts/get_maintainer.pl script will help you with the lists, but do use discretion. The script is sometimes misguided, adding *way* too many lists and people. Just the main subsystem list and supporters/maintainers are usually enough.
Thanks,
Jani.
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
Quoted 32 lines · Jani Nikula
Quoted 12 lines · Julia Lawall
Quoted 10 lines · Meghana Madhyastha
These patches fix the checkpath warnings and errors in
drm_agpsupport.cMeghana Madhyastha (3):
GPU: DRM: MovedEXPORT_SYMBOLso that it immediately followed its
function
GPU: DRM: Replace "foo * bar" with "foo *bar"
GPU: DRM: Remove assignment in if conditionQuoted 2 lines
Quoted 2 lines
drivers/gpu/drm/drm_agpsupport.c | 41 ++++++++++++++++++++++--
----------------Please try 'git log --oneline --
drivers/gpu/drm/drm_agpsupport.c' and
observe the commit subject prefix used. Please try to follow the style
in the area you're changing, not some generic rules.Quoted 9 lines
Quoted 1 line
1 file changed, 23 insertions(+), 18 deletions(-)Are the DRM people going to pick this up? Because Greg will not. If you
do something that is outside staging at a mentor's suggestion it could be
good to make explicit that the mentor will make sure that the patch will
be applied.
Quoted 7 lines
I'm not generally fond of pure checkpatch fixes, but patch 3 alone I want enough to pick them all up. ;)
But please do submit the series to [email protected]. As a
matter of policy, we don't apply patches not posted to our subsystem mailing list.
Yeah, stuff needs to go through dri-devel when it's a drm patch (or anything else in drivers/gpu). That's why we don't recommend it for the very first patch (I guess I should update the text a bit, but I'm travelling and don't have login creds nearby).
-Daniel
Quoted 8 lines
The
scripts/get_maintainer.plscript will help you with the lists, but
do use discretion. The script is sometimes misguided, adding *way* too
many lists and people. Just the main subsystem list and supporters/maintainers are usually enough.
Quoted 4 lines
Thanks,
Jani.
Intel Semiconductor AG
Registered No. 020.30.913.786-7
Registered Office: Badenerstrasse 549, 8048 Zurich, Switzerland
Quoted 41 lines · Daniel
Quoted 32 lines · Jani Nikula
Quoted 12 lines · Julia Lawall
Quoted 10 lines · Meghana Madhyastha
These patches fix the checkpath warnings and errors in
drm_agpsupport.cMeghana Madhyastha (3):
� GPU: DRM: MovedEXPORT_SYMBOLso that it immediately followed its
����function
� GPU: DRM: Replace "foo * bar" with "foo *bar"
� GPU: DRM: Remove assignment in if conditionQuoted 2 lines
Quoted 2 lines
�drivers/gpu/drm/drm_agpsupport.c | 41 ++++++++++++++++++++++--
----------------Please try 'git log --oneline --
drivers/gpu/drm/drm_agpsupport.c' and
observe the commit subject prefix used. Please try to follow the style
in the area you're changing, not some generic rules.Quoted 9 lines
Quoted 1 line
�1 file changed, 23 insertions(+), 18 deletions(-)
Are the DRM people going to pick this up?��Because Greg will not.��If you
do something that is outside staging at a mentor's suggestion it could be
good to make explicit that the mentor will make sure that the patch will
be applied.Quoted 7 lines
I'm not generally fond of pure checkpatch fixes, but patch 3 alone I want enough to pick them all up. ;)
But please do submit the series to [email protected]. As a
matter of policy, we don't apply patches not posted to our subsystem mailing list.
Quoted 4 lines
Yeah, stuff needs to go through dri-devel when it's a drm patch (or anything else in
drivers/gpu). That's why we don't recommend it for the very first patch (I guess I should update the text a bit, but I'm travelling and don't have login creds nearby).
Hm, not all of these landed. Haneen, can you pls resend the remaining patches with dri-devel (and maintainers, per scripts/get_maintainer.pl) on cc?
Thanks, Daniel
Quoted 24 lines
-Daniel
Quoted 8 lines
The
scripts/get_maintainer.plscript will help you with the lists, but
do use discretion. The script is sometimes misguided, adding *way* too
many lists and people. Just the main subsystem list and supporters/maintainers are usually enough.Quoted 4 lines
Thanks,
Jani.Intel Semiconductor AG
Registered No. 020.30.913.786-7
Registered Office: Badenerstrasse 549, 8048 Zurich, SwitzerlandSignature · 5 lines
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1505775934.6581.6.camel%40intel.com. For more options, visit https://groups.google.com/d/optout.
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch
Quoted 42 lines · Daniel Vetter
Quoted 41 lines · Daniel
Quoted 39 lines · Jani Nikula
Quoted 12 lines · Julia Lawall
Quoted 10 lines · Meghana Madhyastha
These patches fix the checkpath warnings and errors in
drm_agpsupport.cMeghana Madhyastha (3):
GPU: DRM: MovedEXPORT_SYMBOLso that it immediately followed
its
function
GPU: DRM: Replace "foo * bar" with "foo *bar"
GPU: DRM: Remove assignment in if conditionQuoted 2 lines
Quoted 2 lines
drivers/gpu/drm/drm_agpsupport.c | 41 ++++++++++++++++++++++------------------
Please try 'git log --oneline --
drivers/gpu/drm/drm_agpsupport.c' and
observe the commit subject prefix used. Please try to follow the style
in the area you're changing, not some generic rules.Quoted 9 lines
Quoted 1 line
1 file changed, 23 insertions(+), 18 deletions(-)Are the DRM people going to pick this up? Because Greg will not. If you
do something that is outside staging at a mentor's suggestion it could be
good to make explicit that the mentor will make sure that the patch will
be applied.I'm not generally fond of pure checkpatch fixes, but patch 3 alone I want enough to pick them all up. ;)
But please do submit the series to [email protected]. As a
matter of policy, we don't apply patches not posted to our subsystem mailing list.
Quoted 8 lines
Quoted 4 lines
Yeah, stuff needs to go through dri-devel when it's a drm patch (or anything else in
drivers/gpu). That's why we don't recommend it for the very first patch (I guess I should update the text a bit, but I'm travelling and don't have login creds nearby).Hm, not all of these landed. Haneen, can you pls resend the remaining patches with dri-devel (and maintainers, per
scripts/get_maintainer.pl) on cc?
Looks like we got our wires crossed! I just applied v3 of this set, so we're allll good :)
Sean
Quoted 40 lines
Thanks, Daniel
Quoted 18 lines
-Daniel
Quoted 8 lines
The
scripts/get_maintainer.plscript will help you with the lists, but
do use discretion. The script is sometimes misguided, adding *way* too
many lists and people. Just the main subsystem list and supporters/maintainers are usually enough.Quoted 4 lines
Thanks,
Jani.Intel Semiconductor AG
Registered No. 020.30.913.786-7
Registered Office: Badenerstrasse 549, 8048 Zurich, SwitzerlandQuoted 6 lines
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1505775934.6581.6.camel%40intel.com.
For more options, visit https://groups.google.com/d/optout.--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170920174828.GA25248%40dvetter-linux.ger.corp.intel.com.
For more options, visit https://groups.google.com/d/optout.