# Re: linux-next: Tree for Oct 5 (warnings: a. trace; b. mm/migrate)

- From: Dave Hansen \<hidden\>
- Date: 2021-10-06 18:16:53 
- List: linux-next
- Page: https://ratatoskr.run/linux-next/2021/10/1533266
- Thread: https://ratatoskr.run/linux-next/2021/10/1531042/t.md

```text
On 10/6/21 9:39 AM, Randy Dunlap wrote:
>>>> ../mm/migrate.c:3216:22: error: 'migrate_on_reclaim_callback' defined
>>>> but not used [-Werror=unused-function]
>>>>   static int __meminit migrate_on_reclaim_callback(struct
>>>> notifier_block
>>>> *self,
>>>>                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> ../mm/migrate.c:3197:13: error: 'set_migration_target_nodes' defined
>>>> but
>>>> not used [-Werror=unused-function]
>>>>   static void set_migration_target_nodes(void)
>>>>               ^~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>
>>>>
>>>> (example usage to get the randconfig files:
>>>> KCONFIG_SEED=0xBFBEA13C make [ARCH=x86_64] randconfig
>>>> )

Randy, thanks for the .config!  That did the trick.

Andrew, attached is a replacement patch for

	mm-migrate-add-cpu-hotplug-to-demotion-ifdef.patch

I could do an incremental as well if that would be easier.  But, the fix
here required a bit of a change of tactics from the original and
necessitated a rewrite of the changelog.
```

## Attachments

- [mm-migrate-separate-CPU-and-memory-hotplug-notifiers.patch](https://ratatoskr.run/linux-next/2021/10/1533266/attachment/0) (text/x-patch, 4564 bytes)
