From: kernel test robot <lkp@intel.com>
To: Chunhui Li <chunhui.li@mediatek.com>,
Luis Chamberlain <mcgrof@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, wsd_upstream@mediatek.com,
Chunhui Li <chunhui.li@mediatek.com>,
Petr Pavlu <petr.pavlu@suse.com>,
kernel test robot <lkp@intel.com>,
Xion Wang <xion.wang@mediatek.com>
Subject: Re: [PATCH v3 1/1] module: abort module loading when sysfs setup suffer errors
Date: Sun, 8 Sep 2024 06:19:57 +0800 [thread overview]
Message-ID: <202409080534.y2m1URF1-lkp@intel.com> (raw)
In-Reply-To: <20240906115748.5367-2-chunhui.li@mediatek.com>
Hi Chunhui,
kernel test robot noticed the following build warnings:
[auto build test WARNING on mcgrof/modules-next]
[also build test WARNING on linus/master v6.11-rc6 next-20240906]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Chunhui-Li/module-abort-module-loading-when-sysfs-setup-suffer-errors/20240907-000002
base: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git modules-next
patch link: https://lore.kernel.org/r/20240906115748.5367-2-chunhui.li%40mediatek.com
patch subject: [PATCH v3 1/1] module: abort module loading when sysfs setup suffer errors
config: powerpc-asp8347_defconfig (https://download.01.org/0day-ci/archive/20240908/202409080534.y2m1URF1-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240908/202409080534.y2m1URF1-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/202409080534.y2m1URF1-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> kernel/module/sysfs.c:232:86: warning: non-void function does not return a value [-Wreturn-type]
232 | static inline int add_sect_attrs(struct module *mod, const struct load_info *info) { }
| ^
kernel/module/sysfs.c:234:87: warning: non-void function does not return a value [-Wreturn-type]
234 | static inline int add_notes_attrs(struct module *mod, const struct load_info *info) { }
| ^
2 warnings generated.
vim +232 kernel/module/sysfs.c
230
231 #else /* !CONFIG_KALLSYMS */
> 232 static inline int add_sect_attrs(struct module *mod, const struct load_info *info) { }
233 static inline void remove_sect_attrs(struct module *mod) { }
234 static inline int add_notes_attrs(struct module *mod, const struct load_info *info) { }
235 static inline void remove_notes_attrs(struct module *mod) { }
236 #endif /* CONFIG_KALLSYMS */
237
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2024-09-07 22:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-06 11:57 [PATCH v3 0/1] fix module sysfs patch defect Chunhui Li
2024-09-06 11:57 ` [PATCH v3 1/1] module: abort module loading when sysfs setup suffer errors Chunhui Li
2024-09-06 23:26 ` Luis Chamberlain
2024-09-07 12:55 ` kernel test robot
2024-09-07 22:19 ` kernel test robot [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=202409080534.y2m1URF1-lkp@intel.com \
--to=lkp@intel.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chunhui.li@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-modules@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=matthias.bgg@gmail.com \
--cc=mcgrof@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=petr.pavlu@suse.com \
--cc=wsd_upstream@mediatek.com \
--cc=xion.wang@mediatek.com \
/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
all inboxes | Powered by JetHome®