* [akpm-mm:mm-unstable 319/345] mm/balloon.c:19:33: warning: 'balloon_page_device' defined but not used
@ 2026-01-20 5:31 kernel test robot
2026-01-20 6:44 ` David Hildenbrand (Red Hat)
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-01-20 5:31 UTC (permalink / raw)
To: David Hildenbrand (Red Hat)
Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List,
Lorenzo Stoakes
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head: bd361423f30912263920dd83326dcf142c16ce31
commit: f100e6eee69ff5746c327bc88a7fa6f43dbdf92c [319/345] mm: rename balloon_compaction.(c|h) to balloon.(c|h)
config: sh-allyesconfig (https://download.01.org/0day-ci/archive/20260120/202601201338.4muFmFHV-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260120/202601201338.4muFmFHV-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601201338.4muFmFHV-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/balloon.c:19:33: warning: 'balloon_page_device' defined but not used [-Wunused-function]
19 | static struct balloon_dev_info *balloon_page_device(struct page *page)
| ^~~~~~~~~~~~~~~~~~~
vim +/balloon_page_device +19 mm/balloon.c
50fe4326e833f0 mm/balloon_compaction.c David Hildenbrand (Red Hat 2026-01-20 18)
ecc7c3359cb476 mm/balloon_compaction.c David Hildenbrand (Red Hat 2026-01-20 @19) static struct balloon_dev_info *balloon_page_device(struct page *page)
ecc7c3359cb476 mm/balloon_compaction.c David Hildenbrand (Red Hat 2026-01-20 20) {
ecc7c3359cb476 mm/balloon_compaction.c David Hildenbrand (Red Hat 2026-01-20 21) return (struct balloon_dev_info *)page_private(page);
ecc7c3359cb476 mm/balloon_compaction.c David Hildenbrand (Red Hat 2026-01-20 22) }
ecc7c3359cb476 mm/balloon_compaction.c David Hildenbrand (Red Hat 2026-01-20 23)
:::::: The code at line 19 was first introduced by commit
:::::: ecc7c3359cb47658444833b09785c2ceb8459a78 mm/balloon_compaction: move internal helpers to balloon_compaction.c
:::::: TO: David Hildenbrand (Red Hat) <david@kernel.org>
:::::: CC: Andrew Morton <akpm@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [akpm-mm:mm-unstable 319/345] mm/balloon.c:19:33: warning: 'balloon_page_device' defined but not used
2026-01-20 5:31 [akpm-mm:mm-unstable 319/345] mm/balloon.c:19:33: warning: 'balloon_page_device' defined but not used kernel test robot
@ 2026-01-20 6:44 ` David Hildenbrand (Red Hat)
0 siblings, 0 replies; 2+ messages in thread
From: David Hildenbrand (Red Hat) @ 2026-01-20 6:44 UTC (permalink / raw)
To: kernel test robot
Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List,
Lorenzo Stoakes
On 1/20/26 06:31, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
> head: bd361423f30912263920dd83326dcf142c16ce31
> commit: f100e6eee69ff5746c327bc88a7fa6f43dbdf92c [319/345] mm: rename balloon_compaction.(c|h) to balloon.(c|h)
> config: sh-allyesconfig (https://download.01.org/0day-ci/archive/20260120/202601201338.4muFmFHV-lkp@intel.com/config)
> compiler: sh4-linux-gcc (GCC) 15.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260120/202601201338.4muFmFHV-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202601201338.4muFmFHV-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
>>> mm/balloon.c:19:33: warning: 'balloon_page_device' defined but not used [-Wunused-function]
> 19 | static struct balloon_dev_info *balloon_page_device(struct page *page)
> | ^~~~~~~~~~~~~~~~~~~
>
>
> vim +/balloon_page_device +19 mm/balloon.c
>
> 50fe4326e833f0 mm/balloon_compaction.c David Hildenbrand (Red Hat 2026-01-20 18)
> ecc7c3359cb476 mm/balloon_compaction.c David Hildenbrand (Red Hat 2026-01-20 @19) static struct balloon_dev_info *balloon_page_device(struct page *page)
> ecc7c3359cb476 mm/balloon_compaction.c David Hildenbrand (Red Hat 2026-01-20 20) {
> ecc7c3359cb476 mm/balloon_compaction.c David Hildenbrand (Red Hat 2026-01-20 21) return (struct balloon_dev_info *)page_private(page);
> ecc7c3359cb476 mm/balloon_compaction.c David Hildenbrand (Red Hat 2026-01-20 22) }
> ecc7c3359cb476 mm/balloon_compaction.c David Hildenbrand (Red Hat 2026-01-20 23)
>
> :::::: The code at line 19 was first introduced by commit
> :::::: ecc7c3359cb47658444833b09785c2ceb8459a78 mm/balloon_compaction: move internal helpers to balloon_compaction.c
>
> :::::: TO: David Hildenbrand (Red Hat) <david@kernel.org>
> :::::: CC: Andrew Morton <akpm@linux-foundation.org>
>
https://lkml.kernel.org/r/27f0adf1-54c1-4d99-8b7f-fd45574e7f41@kernel.org
--
Cheers
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-20 6:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-20 5:31 [akpm-mm:mm-unstable 319/345] mm/balloon.c:19:33: warning: 'balloon_page_device' defined but not used kernel test robot
2026-01-20 6:44 ` David Hildenbrand (Red Hat)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox