stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* stable-rc 4.9.212-rc1/2e383da55e49: regressions detected in project stable v4.9.y on OE
@ 2020-01-28 11:44 Naresh Kamboju
  2020-01-28 11:54 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Naresh Kamboju @ 2020-01-28 11:44 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sasha Levin
  Cc: linux- stable, lkft-triage, Andy Shevchenko, Dmitry Torokhov

stable-rc 4.9 build failed due to these build error,

drivers/md/bitmap.c:1702:13: error: conflicting types for 'bitmap_free'
 static void bitmap_free(struct bitmap *bitmap)
             ^~~~~~~~~~~
include/linux/bitmap.h:94:13: note: previous declaration of
'bitmap_free' was here
 extern void bitmap_free(const unsigned long *bitmap);
             ^~~~~~~~~~~
scripts/Makefile.build:304: recipe for target 'drivers/md/bitmap.o' failed

suspecting this patch causing this build failure on stable-rc 4.9

bitmap: Add bitmap_alloc(), bitmap_zalloc() and bitmap_free()
commit c42b65e363ce97a828f81b59033c3558f8fa7f70 upstream.

A lot of code become ugly because of open coding allocations for bitmaps.

Introduce three helpers to allow users be more clear of intention
and keep their code neat.

Note, due to multiple circular dependencies we may not provide
the helpers as inliners. For now we keep them exported and, perhaps,
at some point in the future we will sort out header inclusion and
inheritance.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

-- 
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: stable-rc 4.9.212-rc1/2e383da55e49: regressions detected in project stable v4.9.y on OE
  2020-01-28 11:44 stable-rc 4.9.212-rc1/2e383da55e49: regressions detected in project stable v4.9.y on OE Naresh Kamboju
@ 2020-01-28 11:54 ` Greg Kroah-Hartman
  2020-01-28 12:47   ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Kroah-Hartman @ 2020-01-28 11:54 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Sasha Levin, linux- stable, lkft-triage, Andy Shevchenko,
	Dmitry Torokhov

On Tue, Jan 28, 2020 at 05:14:33PM +0530, Naresh Kamboju wrote:
> stable-rc 4.9 build failed due to these build error,
> 
> drivers/md/bitmap.c:1702:13: error: conflicting types for 'bitmap_free'
>  static void bitmap_free(struct bitmap *bitmap)
>              ^~~~~~~~~~~
> include/linux/bitmap.h:94:13: note: previous declaration of
> 'bitmap_free' was here
>  extern void bitmap_free(const unsigned long *bitmap);
>              ^~~~~~~~~~~
> scripts/Makefile.build:304: recipe for target 'drivers/md/bitmap.o' failed
> 
> suspecting this patch causing this build failure on stable-rc 4.9
> 
> bitmap: Add bitmap_alloc(), bitmap_zalloc() and bitmap_free()
> commit c42b65e363ce97a828f81b59033c3558f8fa7f70 upstream.
> 
> A lot of code become ugly because of open coding allocations for bitmaps.
> 
> Introduce three helpers to allow users be more clear of intention
> and keep their code neat.
> 
> Note, due to multiple circular dependencies we may not provide
> the helpers as inliners. For now we keep them exported and, perhaps,
> at some point in the future we will sort out header inclusion and
> inheritance.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Sorry, my fault, am fixing this up for 4.9 and 4.4 and 4.14 right now...
Will push out new -rcs when working again.

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: stable-rc 4.9.212-rc1/2e383da55e49: regressions detected in project stable v4.9.y on OE
  2020-01-28 11:54 ` Greg Kroah-Hartman
@ 2020-01-28 12:47   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2020-01-28 12:47 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Sasha Levin, linux- stable, lkft-triage, Andy Shevchenko,
	Dmitry Torokhov

On Tue, Jan 28, 2020 at 12:54:46PM +0100, Greg Kroah-Hartman wrote:
> On Tue, Jan 28, 2020 at 05:14:33PM +0530, Naresh Kamboju wrote:
> > stable-rc 4.9 build failed due to these build error,
> > 
> > drivers/md/bitmap.c:1702:13: error: conflicting types for 'bitmap_free'
> >  static void bitmap_free(struct bitmap *bitmap)
> >              ^~~~~~~~~~~
> > include/linux/bitmap.h:94:13: note: previous declaration of
> > 'bitmap_free' was here
> >  extern void bitmap_free(const unsigned long *bitmap);
> >              ^~~~~~~~~~~
> > scripts/Makefile.build:304: recipe for target 'drivers/md/bitmap.o' failed
> > 
> > suspecting this patch causing this build failure on stable-rc 4.9
> > 
> > bitmap: Add bitmap_alloc(), bitmap_zalloc() and bitmap_free()
> > commit c42b65e363ce97a828f81b59033c3558f8fa7f70 upstream.
> > 
> > A lot of code become ugly because of open coding allocations for bitmaps.
> > 
> > Introduce three helpers to allow users be more clear of intention
> > and keep their code neat.
> > 
> > Note, due to multiple circular dependencies we may not provide
> > the helpers as inliners. For now we keep them exported and, perhaps,
> > at some point in the future we will sort out header inclusion and
> > inheritance.
> > 
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
> Sorry, my fault, am fixing this up for 4.9 and 4.4 and 4.14 right now...
> Will push out new -rcs when working again.

Ok, should be now resolved, sorry for the mess.

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-28 12:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-28 11:44 stable-rc 4.9.212-rc1/2e383da55e49: regressions detected in project stable v4.9.y on OE Naresh Kamboju
2020-01-28 11:54 ` Greg Kroah-Hartman
2020-01-28 12:47   ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).