|
|
| Next: Accepted librose-datetime-perl 0.533-1 (source al.. |
| Author |
Message |
Artem Bityutskiy External

Since: Jul 24, 2009 Posts: 5
|
Posted: Tue Oct 20, 2009 3:10 am Post subject: Re: [PATCH 5/7] acpi: fix a bunch of style issues on 'actypes.h' [Login to view extended thread Info.] Archived from groups: linux>kernel (more info?) |
|
|
On Mon, 2009-10-19 at 17:03 +0200, Jiri Kosina wrote:
> On Mon, 19 Oct 2009, Felipe Contreras wrote:
>
> > > I have never been in favor of merging whitespace-only patches (in a
> > > sense that the sole purpose of them being to change whitespaces, but
> > > no else value added).
> > If somebody tries to send a patch for that file that doesn't fix the
> > white-space, checkpatch will complain, and people will complain that
> > checkpatch complains, which is precisely what happened,
>
> Oh, well ... checkpatch warning about this is somewhat controversial. My
> preferred way would be that it warns about whitespace only if there are
> also some other (non-whitespace) changes.
>
> > and I was requested to write this patch by Daniel Walker (final mail
> > wasn't on the ml):
> >
> > http://lkml.org/lkml/2009/9/14/183
>
> This is something slightly different -- he asks you to fixup whitespace
> issue in the code you are newly introducing, right?
>
> > > And after today's discussion on kernel summit on this topic, I wouldn't
> > > expect any maintainer to merge it, sorry
> > What are you talking about?
>
> Seems like many kernel maintainers are just tired of
> 'whitespace-cleanup-only' patches that bring no real added value
> otherwise.
May be some are tired, but others just say thanks and apply them,
because it is easier to apply than complain, and because they do not
mind if their subsystem becomes a tiny bit cleaner. Sometimes it may
cause troubles, but hey, development is not easy and we are accustomed
to fix conflict and amend patches. But the include/acpi/actypes.h does
not seem to be changing very often anyway.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo RemoveThis @vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/ |
|
| Back to top |
|
 |
Jiri Kosina External

Since: Nov 29, 2006 Posts: 142
|
Posted: Wed Nov 04, 2009 9:10 am Post subject: Re: [PATCH 4/7] acpi: processor: fix section mismatch [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Mon, 19 Oct 2009, Felipe Contreras wrote:
> WARNING: drivers/acpi/processor.o(.text+0x99a): Section mismatch in
> reference from the function acpi_processor_add() to the function
> .cpuinit.text:acpi_processor_power_init()
>
> acpi_processor_add replaced acpi_processor_start which had __cpuinit.
>
> Signed-off-by: Felipe Contreras <felipe.contreras DeleteThis @gmail.com>
> ---
> drivers/acpi/processor_core.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c
> index c567b46..ec742a4 100644
> --- a/drivers/acpi/processor_core.c
> +++ b/drivers/acpi/processor_core.c
> @@ -770,7 +770,7 @@ static struct notifier_block acpi_cpu_notifier =
> .notifier_call = acpi_cpu_soft_notify,
> };
>
> -static int acpi_processor_add(struct acpi_device *device)
> +static int __cpuinit acpi_processor_add(struct acpi_device *device)
> {
> struct acpi_processor *pr = NULL;
> int result = 0;
I don't see this patch in today's linux-next ... ACPI guys, are you going
to merge it?
Thanks,
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo DeleteThis @vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/ |
|
| Back to top |
|
 |
Felipe Contreras External

Since: Oct 07, 2009 Posts: 13
|
Posted: Wed Nov 11, 2009 8:10 pm Post subject: Re: [PATCH 2/7] ipc: fix trivial warning [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Tue, Oct 20, 2009 at 12:50 AM, Jiri Kosina <jkosina.TakeThisOut@suse.cz> wrote:
> On Mon, 19 Oct 2009, Felipe Contreras wrote:
>> Yes, but it's used by ipcctl_pre_down, which from what I can see is
>> only using those arguments when cmd == IPC_SET, so everything is ok.
>> But still, I don't think the compiler _should_ know what
>> ipcctl_pre_down is going to do, if you look _only_ at msgctl_down,
>> then uninitialized_var is OK.
>
> Well at least older compilers were able to see this, only 4.4 seems to be
> warning here ... I have applied the patch for now, but I am really not
> fully convinced about it yet, we should probably report it to gcc folks
> anyway.
I have in my to-do list to report this to the gcc guys, but in the
meantime I don't see this patch applied.
--
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.TakeThisOut@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/ |
|
| Back to top |
|
 |
Felipe Contreras External

Since: Oct 07, 2009 Posts: 13
|
Posted: Wed Nov 11, 2009 8:10 pm Post subject: Re: [PATCH 4/7] acpi: processor: fix section mismatch [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Wed, Nov 4, 2009 at 3:28 PM, Jiri Kosina <jkosina DeleteThis @suse.cz> wrote:
> I don't see this patch in today's linux-next ... ACPI guys, are you going
> to merge it?
How critical are these section mismatch issues? Should this go into 2.6.32?
--
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo DeleteThis @vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/ |
|
| Back to top |
|
 |
Felipe Contreras External

Since: Oct 07, 2009 Posts: 13
|
Posted: Wed Nov 11, 2009 8:10 pm Post subject: Re: [PATCH 3/7] crypto: testmgr: fix warning [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Mon, Oct 19, 2009 at 4:03 PM, Jarod Wilson <jarod.DeleteThis@redhat.com> wrote:
> So yeah, I rescind my claim that initializing err to 0 is incorrect, I think
> that's just fine.
So is this acked? Who will merge it?
--
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.DeleteThis@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/ |
|
| Back to top |
|
 |
Herbert Xu External

Since: May 15, 2004 Posts: 212
|
Posted: Wed Nov 11, 2009 8:10 pm Post subject: Re: [PATCH 3/7] crypto: testmgr: fix warning [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Thu, Nov 12, 2009 at 02:32:10AM +0200, Felipe Contreras wrote:
> On Mon, Oct 19, 2009 at 4:03 PM, Jarod Wilson <jarod.TakeThisOut@redhat.com> wrote:
> > So yeah, I rescind my claim that initializing err to 0 is incorrect, I think
> > that's just fine.
>
> So is this acked? Who will merge it?
It's already in cryptodev-2.6:
commit fa4ef8a6af4745bbf3a25789bc7d4f14a3a6d803
Author: Felipe Contreras <felipe.contreras.TakeThisOut@gmail.com>
Date: Tue Oct 27 19:04:42 2009 +0800
crypto: testmgr - Fix warning
crypto/testmgr.c: In function 'test_cprng':
crypto/testmgr.c:1204: warning: 'err' may be used uninitialized in this function
Signed-off-by: Felipe Contreras <felipe.contreras.TakeThisOut@gmail.com>
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert.TakeThisOut@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.TakeThisOut@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/ |
|
| Back to top |
|
 |
Jiri Kosina External

Since: Nov 29, 2006 Posts: 142
|
Posted: Wed Nov 11, 2009 9:10 pm Post subject: Re: [PATCH 2/7] ipc: fix trivial warning [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Thu, 12 Nov 2009, Felipe Contreras wrote:
> > Well at least older compilers were able to see this, only 4.4 seems to be
> > warning here ... I have applied the patch for now, but I am really not
> > fully convinced about it yet, we should probably report it to gcc folks
> > anyway.
>
> I have in my to-do list to report this to the gcc guys, but in the
> meantime I don't see this patch applied.
It is applied in my tree, scheduled for next merge window.
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo DeleteThis @vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/ |
|
| Back to top |
|
 |
Daniel Walker External

Since: Feb 02, 2009 Posts: 36
|
Posted: Fri Nov 13, 2009 5:10 pm Post subject: Re: [PATCH 5/7] acpi: fix a bunch of style issues on 'actypes.h' [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Mon, 2009-10-19 at 16:20 +0200, Jiri Kosina wrote:
> On Mon, 19 Oct 2009, Felipe Contreras wrote:
>
> > Many still remain.
> >
> > Signed-off-by: Felipe Contreras <felipe.contreras.RemoveThis@gmail.com>
>
> I have never been in favor of merging whitespace-only patches (in a sense
> that the sole purpose of them being to change whitespaces, but no else
> value added).
>
> And after today's discussion on kernel summit on this topic, I wouldn't
> expect any maintainer to merge it, sorry
could you be more specific about what "discussion" you are talking
about.
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.RemoveThis@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/ |
|
| Back to top |
|
 |
Moore, Robert External

Since: Dec 05, 2006 Posts: 14
|
Posted: Fri Nov 13, 2009 5:10 pm Post subject: RE: [PATCH 5/7] acpi: fix a bunch of style issues on 'actypes.h' [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
>-----Original Message-----
>From: Daniel Walker [mailto:dwalker@fifo99.com]
>Sent: Friday, November 13, 2009 12:59 PM
>To: Jiri Kosina
>Cc: Felipe Contreras; linux-kernel RemoveThis @vger.kernel.org; Len Brown; Moore,
>Robert; Lin, Ming M; linux-acpi RemoveThis @vger.kernel.org
>Subject: Re: [PATCH 5/7] acpi: fix a bunch of style issues on 'actypes.h'
>
>On Mon, 2009-10-19 at 16:20 +0200, Jiri Kosina wrote:
>> On Mon, 19 Oct 2009, Felipe Contreras wrote:
>>
>> > Many still remain.
>> >
>> > Signed-off-by: Felipe Contreras <felipe.contreras RemoveThis @gmail.com>
>>
>> I have never been in favor of merging whitespace-only patches (in a sense
>> that the sole purpose of them being to change whitespaces, but no else
>> value added).
>>
>> And after today's discussion on kernel summit on this topic, I wouldn't
>> expect any maintainer to merge it, sorry
>
>could you be more specific about what "discussion" you are talking
>about.
>
Yes, do tell.
>Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo RemoveThis @vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/ |
|
| Back to top |
|
 |
Daniel Walker External

Since: Feb 02, 2009 Posts: 36
|
Posted: Fri Nov 13, 2009 5:10 pm Post subject: RE: [PATCH 5/7] acpi: fix a bunch of style issues on 'actypes.h' [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Fri, 2009-11-13 at 22:41 +0100, Jiri Kosina wrote:
> On Fri, 13 Nov 2009, Moore, Robert wrote:
>
> > >> And after today's discussion on kernel summit on this topic, I
> > >> wouldn't expect any maintainer to merge it, sorry
> > >could you be more specific about what "discussion" you are talking
> > >about.
> > Yes, do tell.
>
> I have probably lost the track of the context here already, sorry.
>
> But it probably had something to do with the fact that whitespace-only
> patches (which [PATCH 5/7] acpi: fix a bunch of style issues on
> 'actypes.h' has been, as far as I remember), are unnecessary noise.
I don't think it was clear from the description , but I think this is
actually a checkpatch cleanup. So it's not just random whitespace
changes. AFAIK, maintainers do accept those.
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo RemoveThis @vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/ |
|
| Back to top |
|
 |
Jiri Kosina External

Since: Nov 29, 2006 Posts: 142
|
Posted: Fri Nov 13, 2009 5:10 pm Post subject: RE: [PATCH 5/7] acpi: fix a bunch of style issues on 'actypes.h' [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Fri, 13 Nov 2009, Moore, Robert wrote:
> >> And after today's discussion on kernel summit on this topic, I
> >> wouldn't expect any maintainer to merge it, sorry
> >could you be more specific about what "discussion" you are talking
> >about.
> Yes, do tell.
I have probably lost the track of the context here already, sorry.
But it probably had something to do with the fact that whitespace-only
patches (which [PATCH 5/7] acpi: fix a bunch of style issues on
'actypes.h' has been, as far as I remember), are unnecessary noise.
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.TakeThisOut@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/ |
|
| Back to top |
|
 |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |
|
|