From: Julia Lawall <hidden> Date: 2012-04-18 19:37:18
From: Julia Lawall <redacted>
There were two problems in this code: failure of the setup function should
free locally allocated resources like other nearby failures, and the test
if (&info->cmap) can never be false. To generally clean things up, this
patch reorders the error handling code at the failed label and adds labels
so that the conditionals are not necessary.
Signed-off-by: Julia Lawall <redacted>
---
Not tested.
drivers/video/ep93xx-fb.c | 32 +++++++++++++++++---------------
1 file changed, 17 insertions(+), 15 deletions(-)
From: H Hartley Sweeten <hidden> Date: 2012-04-18 20:35:57
On Wednesday, April 18, 2012 12:37 PM, Julia Lawall wrote:
From: Julia Lawall <redacted>
There were two problems in this code: failure of the setup function should
free locally allocated resources like other nearby failures, and the test
if (&info->cmap) can never be false. To generally clean things up, this
patch reorders the error handling code at the failed label and adds labels
so that the conditionals are not necessary.
Signed-off-by: Julia Lawall <redacted>
Thanks!
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
From: Ryan Mallon <hidden> Date: 2012-04-19 00:16:00
On 19/04/12 05:37, Julia Lawall wrote:
From: Julia Lawall <redacted>
There were two problems in this code: failure of the setup function should
free locally allocated resources like other nearby failures, and the test
if (&info->cmap) can never be false. To generally clean things up, this
patch reorders the error handling code at the failed label and adds labels
so that the conditionals are not necessary.
Signed-off-by: Julia Lawall <redacted>
Reviewed-by: Ryan Mallon <redacted>
Oddly, scripts/get_maintainer.pl on this file doesn't return me, even
though, according to git blame, I am the author of 90% of the commits.
Should I have an entry in the MAINTAINERS file, or is
scripts/get_maintainer.pl not working properly?
~Ryan
From: Jingoo Han <hidden> Date: 2012-04-19 02:16:10
-----Original Message-----
From: Ryan Mallon
Sent: Thursday, April 19, 2012 9:16 AM
To: Julia Lawall
Cc: Florian Tobias Schandinat; kernel-janitors@vger.kernel.org; linux-fbdev@vger.kernel.org; linux-
kernel@vger.kernel.org
Subject: Re: [PATCH] drivers/video/ep93xx-fb.c: clean up error-handling code
On 19/04/12 05:37, Julia Lawall wrote:
quoted
From: Julia Lawall <redacted>
There were two problems in this code: failure of the setup function should
free locally allocated resources like other nearby failures, and the test
if (&info->cmap) can never be false. To generally clean things up, this
patch reorders the error handling code at the failed label and adds labels
so that the conditionals are not necessary.
Signed-off-by: Julia Lawall <redacted>
Reviewed-by: Ryan Mallon <redacted>
Oddly, scripts/get_maintainer.pl on this file doesn't return me, even
though, according to git blame, I am the author of 90% of the commits.
Should I have an entry in the MAINTAINERS file, or is
scripts/get_maintainer.pl not working properly?
There are optional differences in using scripts/get_maintainer.pl.
If you use './' ahead of file path, you will see your name.
Without './' ahead of 'drivers/video/ep93xx-fb.c':
./scripts/get_maintainer.pl --file drivers/video/ep93xx-fb.c
Florian Tobias Schandinat [off-list ref] (maintainer:FRAMEBUFFER LAYER)
linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER)
linux-kernel@vger.kernel.org (open list)
With './' ahead of 'drivers/video/ep93xx-fb.c':
./scripts/get_maintainer.pl --file ./drivers/video/ep93xx-fb.c
Ryan Mallon [off-list ref] (commit_signer:2/3g%)
Paul Gortmaker [off-list ref] (commit_signer:1/33%)
H Hartley Sweeten [off-list ref] (commit_signer:1/33%)
Jesper Juhl [off-list ref] (commit_signer:1/33%)
Jiri Kosina [off-list ref] (commit_signer:1/33%)
linux-kernel@vger.kernel.org (open list)
Best regards,
Jingoo Han
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Julia Lawall <hidden> Date: 2012-04-19 05:14:11
I don't know thw impact of the ./. I use the options
--nokeywords --nogit-fallback --subsystem --norolestats -f
julia
On Thu, 19 Apr 2012, Jingoo Han wrote:
quoted
-----Original Message-----
From: Ryan Mallon
Sent: Thursday, April 19, 2012 9:16 AM
To: Julia Lawall
Cc: Florian Tobias Schandinat; kernel-janitors@vger.kernel.org; linux-fbdev@vger.kernel.org; linux-
kernel@vger.kernel.org
Subject: Re: [PATCH] drivers/video/ep93xx-fb.c: clean up error-handling code
On 19/04/12 05:37, Julia Lawall wrote:
quoted
From: Julia Lawall <redacted>
There were two problems in this code: failure of the setup function should
free locally allocated resources like other nearby failures, and the test
if (&info->cmap) can never be false. To generally clean things up, this
patch reorders the error handling code at the failed label and adds labels
so that the conditionals are not necessary.
Signed-off-by: Julia Lawall <redacted>
Reviewed-by: Ryan Mallon <redacted>
Oddly, scripts/get_maintainer.pl on this file doesn't return me, even
though, according to git blame, I am the author of 90% of the commits.
Should I have an entry in the MAINTAINERS file, or is
scripts/get_maintainer.pl not working properly?
There are optional differences in using scripts/get_maintainer.pl.
If you use './' ahead of file path, you will see your name.
Without './' ahead of 'drivers/video/ep93xx-fb.c':
./scripts/get_maintainer.pl --file drivers/video/ep93xx-fb.c
Florian Tobias Schandinat [off-list ref] (maintainer:FRAMEBUFFER LAYER)
linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER)
linux-kernel@vger.kernel.org (open list)
With './' ahead of 'drivers/video/ep93xx-fb.c':
./scripts/get_maintainer.pl --file ./drivers/video/ep93xx-fb.c
Ryan Mallon [off-list ref] (commit_signer:2/3g%)
Paul Gortmaker [off-list ref] (commit_signer:1/33%)
H Hartley Sweeten [off-list ref] (commit_signer:1/33%)
Jesper Juhl [off-list ref] (commit_signer:1/33%)
Jiri Kosina [off-list ref] (commit_signer:1/33%)
linux-kernel@vger.kernel.org (open list)
Best regards,
Jingoo Han
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Julia Lawall <redacted>
There were two problems in this code: failure of the setup function should
free locally allocated resources like other nearby failures, and the test
if (&info->cmap) can never be false. To generally clean things up, this
patch reorders the error handling code at the failed label and adds labels
so that the conditionals are not necessary.
Signed-off-by: Julia Lawall <redacted>
From: Joe Perches <joe@perches.com> Date: 2012-04-24 18:10:40
On Thu, 2012-04-19 at 07:14 +0200, Julia Lawall wrote:
I don't know thw impact of the ./. I use the options
--nokeywords --nogit-fallback --subsystem --norolestats -f
julia
On Thu, 19 Apr 2012, Jingoo Han wrote:
quoted
quoted
-----Original Message-----
From: Ryan Mallon
[]
quoted
quoted
Oddly, scripts/get_maintainer.pl on this file doesn't return me, even
though, according to git blame, I am the author of 90% of the commits.
Should I have an entry in the MAINTAINERS file, or is
scripts/get_maintainer.pl not working properly?
There are optional differences in using scripts/get_maintainer.pl.
If you use './' ahead of file path, you will see your name.
Without './' ahead of 'drivers/video/ep93xx-fb.c':
./scripts/get_maintainer.pl --file drivers/video/ep93xx-fb.c
Florian Tobias Schandinat [off-list ref] (maintainer:FRAMEBUFFER LAYER)
linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER)
linux-kernel@vger.kernel.org (open list)
With './' ahead of 'drivers/video/ep93xx-fb.c':
./scripts/get_maintainer.pl --file ./drivers/video/ep93xx-fb.c
Ryan Mallon [off-list ref] (commit_signer:2/3g%)
Paul Gortmaker [off-list ref] (commit_signer:1/33%)
H Hartley Sweeten [off-list ref] (commit_signer:1/33%)
Jesper Juhl [off-list ref] (commit_signer:1/33%)
Jiri Kosina [off-list ref] (commit_signer:1/33%)
linux-kernel@vger.kernel.org (open list)
Prefixing "./" to the file path bypasses the normal
get_maintainers pattern check for file maintainership.
Florian Schandinat and linux-fbdev are not returned
in the second lookup above.
One of the patterns for FRAMEBUFFER is
F: drivers/video/
which is a direct match for is ep93xx-fb.c file,
so --git is not used by default.
Adding --git may be appropriate and it also returns
Ryan's name in this case.
$ ./scripts/get_maintainer.pl -f drivers/video/ep93xx-fb.c
Florian Tobias Schandinat [off-list ref] (maintainer:FRAMEBUFFER LAYER)
linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER)
linux-kernel@vger.kernel.org (open list)
$ ./scripts/get_maintainer.pl --git -f drivers/video/ep93xx-fb.c
Florian Tobias Schandinat [off-list ref] (maintainer:FRAMEBUFFER LAYER)
Ryan Mallon [off-list ref] (commit_signer:2/3g%)
Paul Gortmaker [off-list ref] (commit_signer:1/33%)
H Hartley Sweeten [off-list ref] (commit_signer:1/33%)
Jesper Juhl [off-list ref] (commit_signer:1/33%)
Jiri Kosina [off-list ref] (commit_signer:1/33%)
linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER)
linux-kernel@vger.kernel.org (open list)
Nominally, as framebuffer maintainer, Florian
should also have "signed-off" on these commits,
but many subsystems don't actually have a
single path or person for patches and commits.
This file came into the tree via Andrew Morton.
Another way to investigate who actually does
work on an individual file is to use the
get_maintainer.pl option "--interactive".
That can give you an output like:
* # email/list and role:stats auth sign
* 1 Florian Tobias Schandinat [off-list ref]
maintainer:FRAMEBUFFER LAYER
* 2 Ryan Mallon [off-list ref] 4 4
commit_signer:2/3g%,authored lines:645/650™%,commits:4/8P%
* 3 Paul Gortmaker [off-list ref] 1 1
commit_signer:1/33%,commits:1/8%
* 4 H Hartley Sweeten [off-list ref] 0 2
commit_signer:1/33%,commits:2/8%%
* 5 Jesper Juhl [off-list ref] 0 1
commit_signer:1/33%
* 6 Jiri Kosina [off-list ref] 0 1
commit_signer:1/33%
* 7 Andrew Morton [off-list ref] 0 2
commits:2/8%%
* 8 Russell King [off-list ref] 0 1
commits:1/8%
* 9 linux-fbdev@vger.kernel.org
open list:FRAMEBUFFER LAYER
* 10 linux-kernel@vger.kernel.org
open list
About maintainership for individual files:
If anyone thinks they are the maintainer for
a particular file, generally they should submit
a patch to MAINTAINERS adding a section with
their name, maintainership level and an
appropriate file pattern.
From: Ryan Mallon <hidden> Date: 2012-04-24 21:10:13
On 24/04/12 22:46, Joe Perches wrote:
On Thu, 2012-04-19 at 07:14 +0200, Julia Lawall wrote:
quoted
I don't know thw impact of the ./. I use the options
--nokeywords --nogit-fallback --subsystem --norolestats -f
julia
On Thu, 19 Apr 2012, Jingoo Han wrote:
quoted
quoted
-----Original Message-----
From: Ryan Mallon
[]
quoted
quoted
quoted
Oddly, scripts/get_maintainer.pl on this file doesn't return me, even
though, according to git blame, I am the author of 90% of the commits.
Should I have an entry in the MAINTAINERS file, or is
scripts/get_maintainer.pl not working properly?
There are optional differences in using scripts/get_maintainer.pl.
If you use './' ahead of file path, you will see your name.
Without './' ahead of 'drivers/video/ep93xx-fb.c':
./scripts/get_maintainer.pl --file drivers/video/ep93xx-fb.c
Florian Tobias Schandinat [off-list ref] (maintainer:FRAMEBUFFER LAYER)
linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER)
linux-kernel@vger.kernel.org (open list)
With './' ahead of 'drivers/video/ep93xx-fb.c':
./scripts/get_maintainer.pl --file ./drivers/video/ep93xx-fb.c
Ryan Mallon [off-list ref] (commit_signer:2/3g%)
Paul Gortmaker [off-list ref] (commit_signer:1/33%)
H Hartley Sweeten [off-list ref] (commit_signer:1/33%)
Jesper Juhl [off-list ref] (commit_signer:1/33%)
Jiri Kosina [off-list ref] (commit_signer:1/33%)
linux-kernel@vger.kernel.org (open list)
Prefixing "./" to the file path bypasses the normal
get_maintainers pattern check for file maintainership.
Florian Schandinat and linux-fbdev are not returned
in the second lookup above.
One of the patterns for FRAMEBUFFER is
F: drivers/video/
which is a direct match for is ep93xx-fb.c file,
so --git is not used by default.
Adding --git may be appropriate and it also returns
Ryan's name in this case.
Hi Joe,
Thanks for the info.
Nominally, as framebuffer maintainer, Florian
should also have "signed-off" on these commits,
but many subsystems don't actually have a
single path or person for patches and commits.
This file came into the tree via Andrew Morton.
The original driver was written before Florian became the
framebuffer maintainer. The subsystem had no real maintainer
at the time, which is why it went via Andrew.
About maintainership for individual files:
If anyone thinks they are the maintainer for
a particular file, generally they should submit
a patch to MAINTAINERS adding a section with
their name, maintainership level and an
appropriate file pattern.
Hmm, perhaps author is a better term than maintainer here. Any
patches should still go via the framebuffer maintainer, Florian,
but it would be useful in many cases for the original and/or
most regular commit author to also get Cc'ed since in many
cases they will have a better understanding of the code, even
if the aren't "maintaining" it.
~Ryan
From: Jingoo Han <hidden> Date: 2012-04-25 01:19:19
On Tue, 24 Apr 2012, Joe Perches wrote:
-----Original Message-----
On Thu, 2012-04-19 at 07:14 +0200, Julia Lawall wrote:
quoted
I don't know thw impact of the ./. I use the options
--nokeywords --nogit-fallback --subsystem --norolestats -f
julia
On Thu, 19 Apr 2012, Jingoo Han wrote:
quoted
quoted
-----Original Message-----
From: Ryan Mallon
[]
quoted
quoted
quoted
Oddly, scripts/get_maintainer.pl on this file doesn't return me, even
though, according to git blame, I am the author of 90% of the commits.
Should I have an entry in the MAINTAINERS file, or is
scripts/get_maintainer.pl not working properly?
There are optional differences in using scripts/get_maintainer.pl.
If you use './' ahead of file path, you will see your name.
Without './' ahead of 'drivers/video/ep93xx-fb.c':
./scripts/get_maintainer.pl --file drivers/video/ep93xx-fb.c
Florian Tobias Schandinat [off-list ref] (maintainer:FRAMEBUFFER LAYER)
linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER)
linux-kernel@vger.kernel.org (open list)
With './' ahead of 'drivers/video/ep93xx-fb.c':
./scripts/get_maintainer.pl --file ./drivers/video/ep93xx-fb.c
Ryan Mallon [off-list ref] (commit_signer:2/3g%)
Paul Gortmaker [off-list ref] (commit_signer:1/33%)
H Hartley Sweeten [off-list ref] (commit_signer:1/33%)
Jesper Juhl [off-list ref] (commit_signer:1/33%)
Jiri Kosina [off-list ref] (commit_signer:1/33%)
linux-kernel@vger.kernel.org (open list)
Prefixing "./" to the file path bypasses the normal
get_maintainers pattern check for file maintainership.
Florian Schandinat and linux-fbdev are not returned
in the second lookup above.
One of the patterns for FRAMEBUFFER is
F: drivers/video/
which is a direct match for is ep93xx-fb.c file,
so --git is not used by default.
Adding --git may be appropriate and it also returns
Ryan's name in this case.
$ ./scripts/get_maintainer.pl -f drivers/video/ep93xx-fb.c
Florian Tobias Schandinat [off-list ref] (maintainer:FRAMEBUFFER LAYER)
linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER)
linux-kernel@vger.kernel.org (open list)
$ ./scripts/get_maintainer.pl --git -f drivers/video/ep93xx-fb.c
Florian Tobias Schandinat [off-list ref] (maintainer:FRAMEBUFFER LAYER)
Ryan Mallon [off-list ref] (commit_signer:2/3g%)
Paul Gortmaker [off-list ref] (commit_signer:1/33%)
H Hartley Sweeten [off-list ref] (commit_signer:1/33%)
Jesper Juhl [off-list ref] (commit_signer:1/33%)
Jiri Kosina [off-list ref] (commit_signer:1/33%)
linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER)
linux-kernel@vger.kernel.org (open list)
Nominally, as framebuffer maintainer, Florian
should also have "signed-off" on these commits,
but many subsystems don't actually have a
single path or person for patches and commits.
This file came into the tree via Andrew Morton.
Another way to investigate who actually does
work on an individual file is to use the
get_maintainer.pl option "--interactive".
Thank you for your reply.
It is very helpful.
Best regards,
Jingoo Han
That can give you an output like:
* # email/list and role:stats auth sign
* 1 Florian Tobias Schandinat [off-list ref]
maintainer:FRAMEBUFFER LAYER
* 2 Ryan Mallon [off-list ref] 4 4
commit_signer:2/3g%,authored lines:645/650™%,commits:4/8P%
* 3 Paul Gortmaker [off-list ref] 1 1
commit_signer:1/33%,commits:1/8%
* 4 H Hartley Sweeten [off-list ref] 0 2
commit_signer:1/33%,commits:2/8%%
* 5 Jesper Juhl [off-list ref] 0 1
commit_signer:1/33%
* 6 Jiri Kosina [off-list ref] 0 1
commit_signer:1/33%
* 7 Andrew Morton [off-list ref] 0 2
commits:2/8%%
* 8 Russell King [off-list ref] 0 1
commits:1/8%
* 9 linux-fbdev@vger.kernel.org
open list:FRAMEBUFFER LAYER
* 10 linux-kernel@vger.kernel.org
open list
About maintainership for individual files:
If anyone thinks they are the maintainer for
a particular file, generally they should submit
a patch to MAINTAINERS adding a section with
their name, maintainership level and an
appropriate file pattern.