[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <520fb512-8d2f-15e1-fd00-a7343e136d1c@189.cn>
Date: Mon, 29 Aug 2022 16:32:47 +0800
From: Song Chen <chensong_2000@....cn>
To: Mike Rapoport <rppt@...nel.org>
Cc: karolinadrobnik@...il.com, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Subject: Re: [PATCH 2/2] tools/testing/memblock: define pr_warn_ratelimited
Hi,
在 2022/8/29 16:24, Mike Rapoport 写道:
> On Mon, Aug 29, 2022 at 02:39:00PM +0800, Song Chen wrote:
>> Commit 14d9a675fd0d("mm: Ratelimited mirrored memory related warning
>> messages") introduced pr_warn_ratelimited in memblock.c, which breaks
>> tools/test/memblock, below is the message:
>>
>> /usr/bin/ld: memblock.o: in function `memblock_find_in_range.constprop.0':
>> memblock.c:(.text+0x4603): undefined reference to `pr_warn_ratelimited'
>> /usr/bin/ld: memblock.o: in function `memblock_alloc_range_nid':
>> memblock.c:(.text+0x786a): undefined reference to `pr_warn_ratelimited'
>> collect2: error: ld returned 1 exit status
>>
>> A fake pr_warn_ratelimited needs to be defined in printk.h like other
>> prink functions.
>
> This is fixed by commit 0a7e91528202 ("memblock tests: fix compilation errors")
Is there a commit taking care of 902c2d91582c(mirrored_kernelcore) ? it
brakes memblock test too. If not, i have fixed it and will send a patch
soon.
Song
>
>> Signed-off-by: Song Chen <chensong_2000@....cn>
>> ---
>
Powered by blists - more mailing lists