Messages in this thread | | | Subject | Re: [PATCH v1 1/2] drivers/base/memory: don't store phys_device in memory blocks | From | David Hildenbrand <> | Date | Mon, 1 Feb 2021 14:27:03 +0100 |
| |
[...]
> All warnings (new ones prefixed by >>): > > drivers/base/memory.c: In function 'init_memory_block': >>> drivers/base/memory.c:573:16: warning: variable 'start_pfn' set but not used [-Wunused-but-set-variable] > 573 | unsigned long start_pfn; > | ^~~~~~~~~
Indeed, we no longer need start_pfn in init_memory_block().
-- Thanks,
David / dhildenb
| |