From: "David Hildenbrand (Red Hat)" <david@kernel.org>
To: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Subject: Re: [akpm-mm:mm-unstable 319/345] mm/balloon.c:19:33: warning: 'balloon_page_device' defined but not used
Date: Tue, 20 Jan 2026 07:44:37 +0100 [thread overview]
Message-ID: <ec5971d7-faaa-4716-a697-1c7c90d624d7@kernel.org> (raw)
In-Reply-To: <202601201338.4muFmFHV-lkp@intel.com>
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
prev parent reply other threads:[~2026-01-20 6:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-20 5:31 kernel test robot
2026-01-20 6:44 ` David Hildenbrand (Red Hat) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ec5971d7-faaa-4716-a697-1c7c90d624d7@kernel.org \
--to=david@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=lorenzo.stoakes@oracle.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox