mbox series

[0/3] memblock tests: fix build error

Message ID 20240402132701.29744-1-richard.weiyang@gmail.com (mailing list archive)
Headers show
Series memblock tests: fix build error | expand

Message

Wei Yang April 2, 2024, 1:26 p.m. UTC
Some kernel change break the test build, just fix it.

Wei Yang (3):
  memblock tests: fix undefined reference to `early_pfn_to_nid'
  memblock tests: fix undefined reference to `panic'
  memblock tests: fix undefined reference to `BIT'

 include/linux/gfp_types.h    |  2 ++
 tools/include/linux/kernel.h |  1 +
 tools/include/linux/mm.h     |  5 +++++
 tools/include/linux/panic.h  | 19 +++++++++++++++++++
 4 files changed, 27 insertions(+)
 create mode 100644 tools/include/linux/panic.h

Comments

Mike Rapoport April 2, 2024, 7:09 p.m. UTC | #1
On Tue, Apr 02, 2024 at 01:26:58PM +0000, Wei Yang wrote:
> Some kernel change break the test build, just fix it.
> 
> Wei Yang (3):
>   memblock tests: fix undefined reference to `early_pfn_to_nid'
>   memblock tests: fix undefined reference to `panic'
>   memblock tests: fix undefined reference to `BIT'
> 
>  include/linux/gfp_types.h    |  2 ++
>  tools/include/linux/kernel.h |  1 +
>  tools/include/linux/mm.h     |  5 +++++
>  tools/include/linux/panic.h  | 19 +++++++++++++++++++
>  4 files changed, 27 insertions(+)
>  create mode 100644 tools/include/linux/panic.h

Andrew,

I can take these via memblock tree, what is your preference?
Andrew Morton April 3, 2024, 10:30 p.m. UTC | #2
On Tue, 2 Apr 2024 22:09:47 +0300 Mike Rapoport <rppt@kernel.org> wrote:

> On Tue, Apr 02, 2024 at 01:26:58PM +0000, Wei Yang wrote:
> > Some kernel change break the test build, just fix it.
> > 
> > Wei Yang (3):
> >   memblock tests: fix undefined reference to `early_pfn_to_nid'
> >   memblock tests: fix undefined reference to `panic'
> >   memblock tests: fix undefined reference to `BIT'
> > 
> >  include/linux/gfp_types.h    |  2 ++
> >  tools/include/linux/kernel.h |  1 +
> >  tools/include/linux/mm.h     |  5 +++++
> >  tools/include/linux/panic.h  | 19 +++++++++++++++++++
> >  4 files changed, 27 insertions(+)
> >  create mode 100644 tools/include/linux/panic.h
> 
> Andrew,
> 
> I can take these via memblock tree, what is your preference?

I'm seeing no conflicts at this time, so go for it.
Mike Rapoport April 4, 2024, 9:31 a.m. UTC | #3
On Tue, 02 Apr 2024 13:26:58 +0000, Wei Yang wrote:
> Some kernel change break the test build, just fix it.
> 
> Wei Yang (3):
>   memblock tests: fix undefined reference to `early_pfn_to_nid'
>   memblock tests: fix undefined reference to `panic'
>   memblock tests: fix undefined reference to `BIT'
> 
> [...]

Applied to fixes branch of memblock.git tree, thanks!

[1/3] memblock tests: fix undefined reference to `early_pfn_to_nid'
      commit: 7d8ed162e6a92268d4b2b84d364a931216102c8e
[2/3] memblock tests: fix undefined reference to `panic'
      commit: e0f5a8e74be88f2476e58b25d3b49a9521bdc4ec
[3/3] memblock tests: fix undefined reference to `BIT'
      commit: 592447f6cb3c20d606d6c5d8e6af68e99707b786

tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock
branch: fixes

--
Sincerely yours,
Mike.