lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080819112828.dcfed0eb.akpm@linux-foundation.org>
Date:	Tue, 19 Aug 2008 11:28:28 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Dmitry <dbaryshkov@...il.com>
Cc:	david-b@...bell.net, linux-kernel@...r.kernel.org,
	dbrownell@...rs.sourceforge.net
Subject: Re: [PATCH] Make gpiochip label const

On Tue, 19 Aug 2008 15:13:47 +0400
Dmitry <dbaryshkov@...il.com> wrote:

> 2008/8/19 Andrew Morton <akpm@...ux-foundation.org>:
> > On Sun, 17 Aug 2008 23:00:35 +0400 Dmitry Baryshkov <dbaryshkov@...il.com> wrote:
> >
> >> On Tue, Aug 12, 2008 at 03:06:19PM -0700, David Brownell wrote:
> >> > > From dbaryshkov@...il.com  Tue Aug 12 13:54:29 2008
> >> > > From: Dmitry Baryshkov <dbaryshkov@...il.com>
> >> > > To: linux-kernel@...r.kernel.org
> >> > > Cc: Dmitry Baryshkov <dbaryshkov@...il.com>,
> >> > >   David Brownell <dbrownell@...rs.sourceforge.net>
> >> > > Subject: [PATCH] Make gpiochip label const
> >> > > Date: Wed, 13 Aug 2008 00:39:48 +0400
> >> > >
> >> > > Mark gpiochip label as a const char pointer.
> >> > >
> >> > > Signed-off-by: Dmitry Baryshkov <dbaryshkov@...il.com>
> >> > > Cc: David Brownell <dbrownell@...rs.sourceforge.net>
> >> >
> >> > Acked-By: David Brownell <dbrownell@...rs.sourceforge.net>
> >> >
> >>
> >> Sorry to disturb, but will this make into 2.6.27-rc? Thanks.
> >>
> >
> > Ordinarily it would not.  Is there some reason why you think it should?
> >
> 
> It fixes lots of warnings (one per each instance of code filling the gpio chip)


That should have been in the changelog!

When fixing warnings or compilations errors, the compiler output should
also be in the changelog.

I don't recall seeing such warnings and I cannot make them happen with
drivers/gpio/gpiolib.c or with drivers/gpio/max732x.c or with
drivers/gpio/pca953x.c.  So we still don't know what this patch
does :(

> and is pretty much small to honour inclusion IMO

Well sure it's small.  But converting things to `const' carries a
fairly high risk of adding new warnings or breaking the build.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ