From: kernel test robot <lkp@intel.com>
To: Eugen Hristev <eugen.hristev@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC][PATCH 05/10] pstore: implement core area registration
Date: Tue, 18 Feb 2025 10:53:25 +0800 [thread overview]
Message-ID: <202502181022.PsKoqf9f-lkp@intel.com> (raw)
In-Reply-To: <20250217101706.2104498-6-eugen.hristev@linaro.org>
Hi Eugen,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on kees/for-next/pstore]
[also build test WARNING on kees/for-next/kspp driver-core/driver-core-testing driver-core/driver-core-next driver-core/driver-core-linus herbert-cryptodev-2.6/master herbert-crypto-2.6/master linus/master v6.14-rc3 next-20250217]
[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/Eugen-Hristev/pstore-zone-move-pstore_device_info-into-zone-header/20250217-182615
base: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/pstore
patch link: https://lore.kernel.org/r/20250217101706.2104498-6-eugen.hristev%40linaro.org
patch subject: [RFC][PATCH 05/10] pstore: implement core area registration
config: i386-buildonly-randconfig-001-20250218 (https://download.01.org/0day-ci/archive/20250218/202502181022.PsKoqf9f-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250218/202502181022.PsKoqf9f-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/202502181022.PsKoqf9f-lkp@intel.com/
All warnings (new ones prefixed by >>):
fs/pstore/platform.c: In function 'pstore_unregister_core_area':
>> fs/pstore/platform.c:316:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
316 | int ret;
| ^~~
--
>> fs/pstore/zone.c:40: warning: Function parameter or struct member 'data_ptr' not described in 'psz_buffer'
fs/pstore/zone.c:142: warning: Function parameter or struct member 'dmszs' not described in 'psz_context'
fs/pstore/zone.c:142: warning: Function parameter or struct member 'dmapped_max_cnt' not described in 'psz_context'
vim +/ret +316 fs/pstore/platform.c
312
313 int pstore_unregister_core_area(const char *handle, void *area, size_t size)
314 {
315 struct rec_list_t *rec_element, *tmp;
> 316 int ret;
317
318 if (!psinfo || !psinfo->unregister_dmr)
319 return -EAGAIN;
320
321 mutex_lock(&ps_dmr_lock);
322 list_for_each_entry_safe(rec_element, tmp, &rec_list, list) {
323 struct pstore_record *record;
324
325 record = &rec_element->rec;
326
327 if (record->buf == area) {
328 ret = psinfo->unregister_dmr(record);
329 list_del(&rec_element->list);
330 mutex_unlock(&ps_dmr_lock);
331 return 0;
332 }
333 }
334
335 mutex_unlock(&ps_dmr_lock);
336 return 0;
337
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-02-18 2:55 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-17 10:16 [RFC][PATCH 00/10] pstore: directly mapped regions Eugen Hristev
2025-02-17 10:16 ` [RFC][PATCH 01/10] pstore/zone: move pstore_device_info into zone header Eugen Hristev
2025-02-17 10:16 ` [RFC][PATCH 02/10] pstore/smem: add new pstore/smem type of pstore Eugen Hristev
2025-02-17 10:16 ` [RFC][PATCH 03/10] pstore/zone: introduce directly mapped zones Eugen Hristev
2025-02-18 0:46 ` kernel test robot
2025-02-17 10:17 ` [RFC][PATCH 04/10] qcom: smem: add pstore smem backend Eugen Hristev
2025-02-17 10:17 ` [RFC][PATCH 05/10] pstore: implement core area registration Eugen Hristev
2025-02-18 2:53 ` kernel test robot [this message]
2025-02-18 4:21 ` kernel test robot
2025-02-17 10:17 ` [RFC][PATCH 06/10] qcom: smem: enable smem pstore backend Eugen Hristev
2025-02-17 10:17 ` [RFC][PATCH 07/10] printk: export symbols for buffer address and length functions Eugen Hristev
2025-02-18 8:26 ` Christoph Hellwig
2025-02-18 8:58 ` Sergey Senozhatsky
2025-02-18 9:11 ` Eugen Hristev
2025-02-17 10:17 ` [RFC][PATCH 08/10] pstore: register kmsg into directly mapped zones if available Eugen Hristev
2025-02-17 10:17 ` [RFC][PATCH 09/10] devcoredump: add devcd_{un}register_core_area API Eugen Hristev
2025-02-17 10:17 ` [RFC][PATCH 10/10] rng: qcom_rng: EXAMPLE: registering dev structure Eugen Hristev
2025-02-17 10:23 ` [RFC][PATCH 00/10] pstore: directly mapped regions Johannes Berg
2025-02-17 10:44 ` Eugen Hristev
2025-02-17 11:19 ` Johannes Berg
2025-02-17 11:39 ` Eugen Hristev
2025-02-17 11:43 ` Johannes Berg
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=202502181022.PsKoqf9f-lkp@intel.com \
--to=lkp@intel.com \
--cc=eugen.hristev@linaro.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.